diff options
author | monty@mishka.mysql.fi <> | 2005-09-14 01:41:44 +0300 |
---|---|---|
committer | monty@mishka.mysql.fi <> | 2005-09-14 01:41:44 +0300 |
commit | f348f62cc31fdba05be52f25a3adbc67cad3f245 (patch) | |
tree | fed5fb311670c7f36e10dc2e65ab02177c47316a /sql/sp.cc | |
parent | 8369e7de8a18397d4725d2f24d7f3bd40ec71132 (diff) | |
download | mariadb-git-f348f62cc31fdba05be52f25a3adbc67cad3f245.tar.gz |
Added option --valgrind-mysqltest to mysql-test-run
Added flag to Field::store(longlong) to specify if value is unsigned.
This fixes bug #12750: Incorrect storage of 9999999999999999999 in DECIMAL(19, 0)
Fixed warning from valgrind in CREATE ... SELECT
Fixed double free of mysql.options if reconnect failed
Diffstat (limited to 'sql/sp.cc')
-rw-r--r-- | sql/sp.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sp.cc b/sql/sp.cc index 016703662a5..271a5d3a4f8 100644 --- a/sql/sp.cc +++ b/sql/sp.cc @@ -223,7 +223,7 @@ db_find_routine_aux(THD *thd, int type, sp_name *name, TABLE *table) table->field[0]->store(name->m_db.str, name->m_db.length, &my_charset_bin); table->field[1]->store(name->m_name.str, name->m_name.length, &my_charset_bin); - table->field[2]->store((longlong) type); + table->field[2]->store((longlong) type, TRUE); key_copy(key, table->record[0], table->key_info, table->key_info->key_length); |