[Kde-pim] [patch] smale patch for server/src/storage/dbinitializer.cpp (pSQL-support and some mysql-stuff)

Tony Wolf wolf at os-forge.net
Fri Mar 28 21:47:02 GMT 2008


Hi everybody,

I've done my second patch on 
akonadi/server/src/storage/dbinitializer.cpp. It provides some chances 
for PSQL support as requested on [1].

It compiles and seems to work. I started akonadiserver, once without db 
and once with already existing db. Also I import a ical-resouce.

Also I delete

while ( query.next() ) {
     // FIXME: use column name (key_name) instead of column index!!
     if ( query.value(2) == indexName )
       return true;
   }

and source it out in the sql-statement (both, MySQL and PSQL).

Please review it as I try to match your coding-style. I hope, that I 
haven't forgot a rule. :D


Best regards

Tony
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbinitializer.cpp.patch
Type: text/x-diff
Size: 2649 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20080328/bc74a4cf/attachment.patch>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list