diff options
author | drh <> | 2021-08-02 16:41:57 +0000 |
---|---|---|
committer | drh <> | 2021-08-02 16:41:57 +0000 |
commit | f38524d20db165c94dc94e06b62f0aad5942a03b (patch) | |
tree | d5f916ae22a0bae1a3d7168c0b1a031d6c22da92 /src/main.c | |
parent | 79cf2b7120ea382a2649698656860d09740e6205 (diff) | |
download | sqlite-f38524d20db165c94dc94e06b62f0aad5942a03b.tar.gz sqlite-f38524d20db165c94dc94e06b62f0aad5942a03b.zip |
Refactor the Table object to reduce its memory footprint.
FossilOrigin-Name: bbb6759bcf6e01d36dfc787a82a610d359f50aaeac8104b73883a84906d54e1f
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index fc0fa6ad1..2dc29593d 100644 --- a/src/main.c +++ b/src/main.c @@ -3731,7 +3731,7 @@ int sqlite3_table_column_metadata( /* Locate the table in question */ pTab = sqlite3FindTable(db, zTableName, zDbName); - if( !pTab || pTab->pSelect ){ + if( !pTab || IsView(pTab) ){ pTab = 0; goto error_out; } |