<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Sebastian, Good plan, an indexed array of tables (index is mail account number).. table columns are: RemoteUID, LocalUID, Flags.<br></div><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><br><div style="font-family:arial, helvetica, sans-serif;font-size:13px"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Sebastian Spaeth <Sebastian@SSpaeth.de><br><b><span style="font-weight: bold;">To:</span></b> Nicolas Sebrecht <nicolas.s-dev@laposte.net><br><b><span style="font-weight: bold;">Cc:</span></b> offlineimap mailing list <offlineimap-project@lists.alioth.debian.org>; Nicolas Sebrecht <nicolas.s-dev@laposte.net>; chris coleman <christocoleman@yahoo.com><br><b><span style="font-weight:
 bold;">Sent:</span></b> Thu, April 7, 2011 7:06:55 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: Please help crash: null byte in argument for long()<br></font><br>
On Thu, 7 Apr 2011 20:40:38 +0200, Nicolas Sebrecht <<a ymailto="mailto:nicolas.s-dev@laposte.net" href="mailto:nicolas.s-dev@laposte.net">nicolas.s-dev@laposte.net</a>> wrote:<br>>   --fetch-uid UID [--output-file FILENAME]<br><br>Sounds useful for debugging. How would you specify the server/folder?<br><br>> > This database also looks like a good candidate for sqlite'ification.<br>> <br>> Yes, but it would be even better to improve internal data representation<br>> everywhere it's possible. :-)<br><br>Yep. It e.g. doesn't make sense to have 2 databases in the MappedUID<br>case (be they plain text or sqlite) as we have now:<br><br>One storing Remote UID and flags, and one storing a mapping between<br>Remote UID and Local UID. It could all easily fit into one<br>database. It's just a migration issue.<br><br>And yes, we should protect and warn when we find corrupt data...<br><br>Sebastian<br></div></div>



</div></body></html>