Holger Freyther <holger <at> freyther.de> writes:

> 
> Good Morning,

Good Morning,

again I have issues re-building the 0.8.3.1 from git but here is
a diff against the debian package (that in turn only carries one
patch).

Index: libdbi-drivers-0.8.3-1+s/drivers/sqlite3/dbd_sqlite3.c
===================================================================
--- libdbi-drivers-0.8.3-1+s.orig/drivers/sqlite3/dbd_sqlite3.c 2014-03-08 
09:58:57.560797455 +0100
+++ libdbi-drivers-0.8.3-1+s/drivers/sqlite3/dbd_sqlite3.c      2014-03-08 
10:01:02.070669768 +0100
@@ -1045,7 +1045,10 @@
       break;
     case DBI_TYPE_BINARY:
       data->d_string = strdup(raw);
-      row->field_sizes[curfield] = _dbd_decode_binary(data->d_string, data-
>d_string);
+      if (data->d_string[0] == '\0')
+        row->field_sizes[curfield] = 0;
+      else
+        row->field_sizes[curfield] = _dbd_decode_binary(data->d_string, 
data->d_string);
       break;
     case DBI_TYPE_DATETIME:
       sizeattrib = _isolate_attrib(result->field_attribs[curfield], 
DBI_DATETIME_DATE, DBI_DATETIME_TIME);


------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Libdbi-drivers-devel mailing list
Libdbi-drivers-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdbi-drivers-devel

Reply via email to