qc_sqlite: Copy database if tables are copied
To be able to correctly report the fullname of a table we must copy the database, if it is available.
This commit is contained in:
parent
604502e1cb
commit
1c58df8307
@ -705,7 +705,7 @@ public:
|
||||
char database[nDatabase + 1];
|
||||
char table[nTable + 1];
|
||||
|
||||
if (should_collect_database)
|
||||
if (zDatabase)
|
||||
{
|
||||
strcpy(database, zDatabase);
|
||||
exposed_sqlite3Dequote(database);
|
||||
|
Loading…
x
Reference in New Issue
Block a user