1
0
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:
drh
2023-08-30 15:42:41 +00:00
parent 10deb35995
commit adf54de51e
3 changed files with 8 additions and 11 deletions

View File

@@ -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;
}
/*