Mailinglist Archive: zypp-devel (68 mails)

< Previous Next >
[zypp-devel] I try to like SQLite, but it does not like me ,(
  • From: Michael Andres <ma@xxxxxxx>
  • Date: Fri, 4 May 2007 01:06:14 +0200
  • Message-id: <20070503230614.GB20627@xxxxxxx>
The 1st call to cache::CacheStore to create the db succeeds.

But if the db exists I get

[DEFINE_LOGGROUP] CacheInitializer.cpp(createTables):104 Initializing cache schema...
[DEFINE_LOGGROUP] CacheInitializer.cpp(createTables):126 Schema size: 9380

[zypp] Exception.cc(log):94 CacheInitializer.cpp(CacheInitializer):77 
RETHROW:  ():0: table db_info already exists
terminate called after throwing an instance of 'sqlite3x::database_error'
  what():  table db_info already exists
./ma_test: line 44: 12413 Aborted                 $SUDO ./$PRG "$@"


Why?

-- 

cu,
    Michael Andres

+------------------------------------------------------------------+
Key fingerprint = 2DFA 5D73 18B1 E7EF A862  27AC 3FB8 9E3A 27C6 B0E4
+------------------------------------------------------------------+
Michael Andres             YaST Development            ma@xxxxxxxxxx
SUSE LINUX Products GmbH, GF:  Markus Rex,  HRB 16746 (AG Nuernberg)
Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0
+------------------------------------------------------------------+

-- 
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups