summaryrefslogtreecommitdiff
path: root/mysql-test/r/type_timestamp.result
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2005-01-12 03:38:53 +0200
committerunknown <monty@mysql.com>2005-01-12 03:38:53 +0200
commit24a0275722914643a1a6498310bc5a04cea44a3b (patch)
tree6a8b1b01636a63430471b9c070075ba6ecaf9379 /mysql-test/r/type_timestamp.result
parent0b7895b9b14981926c34fbd833aed0d9235da68a (diff)
downloadmariadb-git-24a0275722914643a1a6498310bc5a04cea44a3b.tar.gz
Fixed memory reference errors found by valgrind
sql/ha_federated.cc: Change mode to -rw-rw-r-- myisam/mi_create.c: Ensure that all referenced memory is reset mysql-test/r/type_timestamp.result: More tests mysql-test/t/func_compress.test: Added comment mysql-test/t/type_timestamp.test: More tests sql/field.h: Count number of varchars in table sql/item_cmpfunc.cc: Safety fix (to avoid warning from valgrind) sql/opt_range.cc: Simple optimzation sql/sql_acl.cc: Safety fix (to avoid warning from valgrind) sql/sql_parse.cc: Safety fix for prepared statements sql/sql_show.cc: Move variable declarations first in function Remove hidden variable (it) Remove accessing freed memory (table_list->table_name) sql/sql_update.cc: Compare records with varchars correctly sql/table.cc: Safety fix when running with purify/valgrind Fix wrong memory reference in case of errors sql/table.h: Added counting of varchar fields strings/ctype-mb.c: Fill max_str properly
Diffstat (limited to 'mysql-test/r/type_timestamp.result')
-rw-r--r--mysql-test/r/type_timestamp.result4
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/r/type_timestamp.result b/mysql-test/r/type_timestamp.result
index 42fdc7e50c6..61c167c6264 100644
--- a/mysql-test/r/type_timestamp.result
+++ b/mysql-test/r/type_timestamp.result
@@ -35,6 +35,10 @@ UPDATE t1 SET value="my value" WHERE id="myKey";
SELECT stamp FROM t1 WHERE id="myKey";
stamp
1999-04-02 00:00:00
+UPDATE t1 SET id="myKey" WHERE value="my value";
+SELECT stamp FROM t1 WHERE id="myKey";
+stamp
+1999-04-02 00:00:00
drop table t1;
create table t1 (a timestamp);
insert into t1 values (now());