diff options
author | tim@threads.polyesthetic.msg <> | 2001-04-17 09:13:10 -0400 |
---|---|---|
committer | tim@threads.polyesthetic.msg <> | 2001-04-17 09:13:10 -0400 |
commit | e19137f0379ce08b43165ce3fb89c1b03398d863 (patch) | |
tree | 8cf3e01650fdcb3b8f5935afd094096aa03c789f /sql/sql_select.cc | |
parent | 37f3068495600f20f3f4d49087bf7825435518fd (diff) | |
download | mariadb-git-e19137f0379ce08b43165ce3fb89c1b03398d863.tar.gz |
sql_select.cc sizeof(**TABLE) -> sizeof(*TABLE) in malloc()
Diffstat (limited to 'sql/sql_select.cc')
-rw-r--r-- | sql/sql_select.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc index db95214cfa3..9acadefc18d 100644 --- a/sql/sql_select.cc +++ b/sql/sql_select.cc @@ -846,7 +846,7 @@ make_join_statistics(JOIN *join,TABLE_LIST *tables,COND *conds, table_count=join->tables; stat=(JOIN_TAB*) join->thd->calloc(sizeof(JOIN_TAB)*table_count); stat_ref=(JOIN_TAB**) join->thd->alloc(sizeof(JOIN_TAB*)*MAX_TABLES); - table_vector=(TABLE**) join->thd->alloc(sizeof(TABLE**)*(table_count*2)); + table_vector=(TABLE**) join->thd->alloc(sizeof(TABLE*)*(table_count*2)); if (!stat || !stat_ref || !table_vector) DBUG_RETURN(1); // Eom /* purecov: inspected */ select=0; |