Kouhei Sutou
null+****@clear*****
Wed Aug 21 00:08:09 JST 2013
Kouhei Sutou 2013-08-21 00:08:09 +0900 (Wed, 21 Aug 2013) New Revision: 3156280442792c1446175044ba666428690b9c55 https://github.com/mroonga/mroonga/commit/3156280442792c1446175044ba666428690b9c55 Message: mariadb55: support MariaDB 5.5.32 for timestamp Field should have "table" in MariaDB 5.5.32. Modified files: ha_mroonga.cpp Modified: ha_mroonga.cpp (+3 -0) =================================================================== --- ha_mroonga.cpp 2013-08-19 14:20:25 +0900 (5d2fad0) +++ ha_mroonga.cpp 2013-08-21 00:08:09 +0900 (26b0efe) @@ -10020,11 +10020,14 @@ int ha_mroonga::storage_encode_key_timestamp(Field *field, const uchar *key, uint fuzzy_date = 0; uchar *ptr_backup = field->ptr; uchar *null_ptr_backup = field->null_ptr; + TABLE *table_backup = field->table; field->ptr = (uchar *)key; field->null_ptr = (uchar *)(key - 1); + field->table = table; timestamp_hires_field->get_date(&mysql_time, fuzzy_date); field->ptr = ptr_backup; field->null_ptr = null_ptr_backup; + field->table = table_backup; } #else my_time_t my_time = uint4korr(key); -------------- next part -------------- HTML����������������������������...下载