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:
committed by
Gerald (Jerry) Carter
parent
29f7e430ac
commit
61dcb462f3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user