1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-19 04:23:48 +03:00

r7437: 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.
This commit is contained in:
Derrell Lipman
2005-06-09 14:15:09 +00:00
committed by Gerald (Jerry) Carter
parent 29f7e430ac
commit 61dcb462f3

View File

@@ -1130,7 +1130,7 @@ lsqlite3_initialize(struct lsqlite3_private *lsqlite3,
;
/* Skip protocol indicator of url */
if ((p = strchr(url, ':')) == NULL) {
if (strncmp(url, "sqlite://", 9) != 0) {
return SQLITE_MISUSE;
} else {
++p;