You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
Merge pull request #1433 from dhall-MariaDB/MCOL-3464
MCOL-3464 don't dereference a NULL String.
This commit is contained in:
@ -4386,7 +4386,8 @@ SimpleColumn* buildSimpleColumn(Item_field* ifp, gp_walk_info& gwi)
|
||||
bool isInformationSchema = false;
|
||||
|
||||
// @bug5523
|
||||
if (ifp->cached_table && strcmp(ifp->cached_table->db.str, "information_schema") == 0)
|
||||
if (ifp->cached_table && ifp->cached_table->db.length > 0
|
||||
&& strcmp(ifp->cached_table->db.str, "information_schema") == 0)
|
||||
isInformationSchema = true;
|
||||
|
||||
// support FRPM subquery. columns from the derived table has no definition
|
||||
|
Reference in New Issue
Block a user