svn commit: samba r7437 - in
branches/SAMBA_4_0/source/lib/ldb/ldb_sqlite3: .
derrell at samba.org
derrell at samba.org
Thu Jun 9 14:15:09 GMT 2005
Author: derrell
Date: 2005-06-09 14:15:09 +0000 (Thu, 09 Jun 2005)
New Revision: 7437
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7437
Log:
Make Simo happy.
I still think this URI syntax for a 'protocol' which has no network component
is stupid; it should just be
sqlite:local_file
or
sqlite:/full/path/to/file
but there is enough precedent to warrant the behavior that Simo wants that it
is not worth arguing.
Modified:
branches/SAMBA_4_0/source/lib/ldb/ldb_sqlite3/ldb_sqlite3.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/ldb_sqlite3/ldb_sqlite3.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/ldb_sqlite3/ldb_sqlite3.c 2005-06-09 13:13:15 UTC (rev 7436)
+++ branches/SAMBA_4_0/source/lib/ldb/ldb_sqlite3/ldb_sqlite3.c 2005-06-09 14:15:09 UTC (rev 7437)
@@ -1130,7 +1130,7 @@
;
/* Skip protocol indicator of url */
- if ((p = strchr(url, ':')) == NULL) {
+ if (strncmp(url, "sqlite://", 9) != 0) {
return SQLITE_MISUSE;
} else {
++p;
More information about the samba-cvs
mailing list