mirror of
https://github.com/MariaDB/server.git
synced 2025-01-21 06:22:28 +01:00
dd41fd5732
- Starting time of a query sent by file bootstrapping wasn't initialized and starting time defaulted to 0. This later used value by the Now- item and is translated to 1970-01-01 11:00:00. - marking the time with thd->set_time() before the call to mysql_parse resolves this issue.
9 lines
324 B
Text
9 lines
324 B
Text
select * from mysql.user as t1, mysql.user as t2, mysql.user as t3;
|
|
|
|
#
|
|
# Bug#23240 --init-file statements with NOW() reports '1970-01-01 11:00:00'as the date time
|
|
#
|
|
CREATE DATABASE IF NOT EXISTS init_file;
|
|
CREATE TABLE IF NOT EXISTS init_file.startup ( startdate DATETIME );
|
|
INSERT INTO init_file.startup VALUES ( NOW() );
|
|
|