1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-28 13:01:41 +03:00
unknown 720ea4041e Simplify logging code a bit (to make code smaller and faster)
Moved duplicated code to inline function store_timestamp()
Save thd->time_zone_used when logging to table as CSV internally cases it to be changed
Added MYSQL_LOCK_IGNORE_FLUSH to log tables to avoid deadlock in case of flush tables.
Mark log tables with TIMESTAMP_NO_AUTO_SET to avoid automatic timestamping
Set TABLE->no_replicate on open



client/mysqlbinlog.cc:
  Fixed several memory leaks (most in case of error situations)
mysql-test/r/events_logs_tests.result:
  Made long_query_timeout smaller to ensure next query comes into log
mysql-test/r/variables.result:
  Make it safe to run test with --log
mysql-test/t/events_logs_tests.test:
  Made long_query_timeout smaller to ensure next query comes into log
mysql-test/t/variables.test:
  Make it safe to run test with --log
sql/field.cc:
  Moved duplicated code to inline function store_timestamp()
sql/field.h:
  Moved duplicated code to inline function store_timestamp()
sql/handler.cc:
  Reorder checks in likely order
  Simplify checks if we should do binary logging
  (no_replicate is set once and for all when table is opened)
sql/log.cc:
  Save thd->time_zone_used as CVS internally cases it to be changed
  Use Field_timestamp->store_timestamp instead of automatic timestamps.
  This gives us correct timestamp even if thd->set_time() is not called (in case
  of connect) and we don't have to store thd->query_start_used anymore.
sql/sql_base.cc:
  Removed not needed comment
  Moved LINT_INIT() to after declaration
  Renamed temporary variable to avoid compiler warning
  Added MYSQL_LOCK_IGNORE_FLUSH to log tables to avoid deadlock in case of flush tables.
  Mark log tables with TIMESTAMP_NO_AUTO_SET to avoid automatic timestamping
sql/table.cc:
  Set TABLE->no_replicate on open
2007-08-03 01:14:27 +03:00
..
2007-05-30 20:25:16 +04:00
2007-05-23 15:26:16 +04:00
2007-05-29 15:58:18 +03:00
2007-06-28 21:34:54 +04:00
2007-07-23 23:35:43 -07:00
2007-06-28 16:03:01 -07:00
2007-04-04 21:35:58 +00:00
2007-07-06 11:35:10 -07:00
2007-06-28 21:34:54 +04:00
2007-06-11 22:55:21 +04:00
2007-06-28 21:34:54 +04:00
2007-06-12 15:10:33 +03:00
2007-07-23 23:35:43 -07:00
2007-06-07 20:25:22 +02:00
2007-05-29 15:58:18 +03:00
2007-08-01 16:48:14 +04:00
2007-05-29 15:58:18 +03:00
2007-06-13 17:28:59 +02:00
2007-04-20 18:35:16 +02:00
2007-06-13 17:28:59 +02:00
2007-05-29 15:58:18 +03:00
2007-05-29 15:58:18 +03:00
2007-06-28 21:34:54 +04:00
2007-06-28 21:34:54 +04:00
2007-05-29 15:58:18 +03:00
2007-06-06 18:55:21 +05:00
2007-06-30 22:50:14 -07:00
2007-07-14 01:34:46 +05:00
2007-04-17 12:32:01 +02:00
2007-07-07 20:03:00 -07:00
2007-04-06 16:06:10 +05:00
2007-03-29 09:08:30 +05:00
2007-05-29 15:58:18 +03:00
2007-04-29 18:52:14 +05:00