diff options
author | unknown <tim@threads.polyesthetic.msg> | 2001-04-17 09:13:10 -0400 |
---|---|---|
committer | unknown <tim@threads.polyesthetic.msg> | 2001-04-17 09:13:10 -0400 |
commit | b279170bf377c9fc0d386f9a905cc26712f127e3 (patch) | |
tree | 8cf3e01650fdcb3b8f5935afd094096aa03c789f /sql/sql_select.cc | |
parent | 2cd409e32b7ae890e8b278072c36ccb935f729c5 (diff) | |
download | mariadb-git-b279170bf377c9fc0d386f9a905cc26712f127e3.tar.gz |
sql_select.cc sizeof(**TABLE) -> sizeof(*TABLE) in malloc()
sql/sql_select.cc:
sizeof(**TABLE) -> sizeof(*TABLE) in malloc()
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
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; |