mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-05 15:55:57 +03:00
Fix to the sqlite3_get_clientdata() interface.
FossilOrigin-Name: 937cd1762b36d48d9e7bafe42e99e524c9b5528d39f64521bce2f81d9c887db8
This commit is contained in:
@@ -3724,7 +3724,7 @@ int sqlite3_collation_needed16(
|
||||
void *sqlite3_get_clientdata(sqlite3 *db, const char *zName){
|
||||
DbClientData *p;
|
||||
for(p=db->pDbData; p && strcmp(p->zName,zName); p=p->pNext){}
|
||||
return p;
|
||||
return p ? p->pData : 0;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user