Fix session::get_table_names() for sqlite backend

parent 7a6559c1
......@@ -305,7 +305,11 @@ struct sqlite3_session_backend : details::session_backend
virtual sqlite3_statement_backend * make_statement_backend();
virtual sqlite3_rowid_backend * make_rowid_backend();
virtual sqlite3_blob_backend * make_blob_backend();
virtual std::string get_table_names_query() const
{
return "select name as \"TABLE_NAME\""
" from sqlite_master where type = 'table'";
}
sqlite_api::sqlite3 *conn_;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment