<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 &lt;Sebastian@SSpaeth.de&gt;<br><b><span style="font-weight: bold;">To:</span></b> Nicolas Sebrecht &lt;nicolas.s-dev@laposte.net&gt;<br><b><span style="font-weight: bold;">Cc:</span></b> offlineimap mailing list &lt;offlineimap-project@lists.alioth.debian.org&gt;; Nicolas Sebrecht &lt;nicolas.s-dev@laposte.net&gt;; chris coleman &lt;christocoleman@yahoo.com&gt;<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 &lt;<a ymailto="mailto:nicolas.s-dev@laposte.net" href="mailto:nicolas.s-dev@laposte.net">nicolas.s-dev@laposte.net</a>&gt; wrote:<br>&gt;&nbsp;  --fetch-uid UID [--output-file FILENAME]<br><br>Sounds useful for debugging. How would you specify the server/folder?<br><br>&gt; &gt; This database also looks like a good candidate for sqlite'ification.<br>&gt; <br>&gt; Yes, but it would be even better to improve internal data representation<br>&gt; 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>