summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* After review fixesbb-anel-json-v2-10.3-recursionAnel Husakovic2019-07-1130-407/+421
| | | | | | | | | | | | | - Indentation fixed - Logic of empty string fixed - Added read_variable_length() to opaque data type - Added logic and test case for MYSQL_TYPE_NEWDECIMAL - Added new utf8 test - Added support encoding for other opaque data types (MYSQL_TYPE_{LONG/MEDIUM/TINY}BLOB, MYSQL_TYPE_VARCHAR, MYSQL_TYPE_YEAR) found in json suite of mysql and test cases - Added big array test (--do-test=anel/mysql_j) - alter force @todo
* Add suppression to testsAnel Husakovic2019-07-0815-5/+40
|
* Memory leaks-no,noAnel Husakovic2019-07-081-5/+10
|
* Add test case with JSONB_TYPE_LARGE_OBJECTAnel Husakovic2019-07-087-5/+74
| | | | | | | - Have to change length to support 2 bytes only (large=false) - Have to use `read_variable_length()` since length of 8th bit of each of 5 maximum allowed byte needs to be validated - this should be done on OPAQUE type also @todo
* Add array caseAnel Husakovic2019-07-085-7/+27
|
* Add MYSQL_TYPE_BIT caseAnel Husakovic2019-07-086-2/+59
|
* Format MYSQL_TYPE_DATEAnel Husakovic2019-07-083-3/+118
| | | | | | - sql-common/my_time.c -> my_TIME_to_str() has already implemented format just add that case using appropriate `time_type` - finished this types
* Mixed testAnel Husakovic2019-07-085-32/+16
|
* Cleanup of opaque type and use of enum_field_typesAnel Husakovic2019-07-083-82/+12
|
* Add OPAQUE typeAnel Husakovic2019-07-0811-10/+166
| | | | | | - Support datetime -> parsing needed for date/time @todo(maybe) - Except this patch, mysql is handling specially `MYSQL_TYPE_NEWDECIMAL` and the rest is default @todo(maybe) - my_base64 (wrapper_to_string() ) ->@todo(maybe)
* Add support for empty object or stringAnel Husakovic2019-07-086-0/+49
|
* Add support for floats -> question for reviewAnel Husakovic2019-07-086-60/+71
|
* Integers finished and covered by test caseAnel Husakovic2019-07-089-14/+159
|
* Add literals and array testAnel Husakovic2019-07-087-0/+78
|
* Add support for recursion-tested with arraysAnel Husakovic2019-07-083-10/+57
|
* Added logic for recursionAnel Husakovic2019-07-084-42/+78
|
* Cosmetic fixes - use parse_value() insteadAnel Husakovic2019-07-082-47/+79
|
* Add temp 3Anel Husakovic2019-07-083-5/+4
|
* Add temporary 2Anel Husakovic2019-07-083-20/+30
|
* Add temporary functionAnel Husakovic2019-07-089-62/+45
|
* Add support to INT32, UINT64Anel Husakovic2019-07-084-28/+89
| | | | | | - Added a test case for ints ->works - Same analogy should be applied to other int types ->todo with tests - Analysis done
* Add summary tests json object only for reviewAnel Husakovic2019-07-0811-22/+125
| | | | | | - Test is working for string and int16 data type - Test is not working for INT32 and UINT64 data type - Analysis done
* Add parsing of of mysql json object with INT values (0x5)Anel Husakovic2019-07-082-14/+29
| | | | | | | | | | | | | | | | - Used `string::append_longlong()` and is looking as: ``` (gdb) p buffer->Ptr $1 = 0x7fffe00306e8 "{\"a\":2}" ``` @todo test with big >0 and <0 ints in mysql - After this step strings are getting double qoutes (mysql has `double_qoute()` ``` (gdb) p buffer->Ptr $1 = 0x7fffe004ae48 "{\"key1\":\"val1\",\"key2\":\"val2\"}", ```
* Cosmetic fixes of json object and todo string valueAnel Husakovic2019-07-083-71/+72
|
* Add parsing of mysql json object with string values(0xc)Anel Husakovic2019-07-081-2/+52
| | | | | | | | | | | | | - Added parsing of mysql binary wrt KEY_ENTRY_SIZE and VALUE_ENTRY_SIZE of json object only (@todo- json array) - Added parsing of string value (@todo- add new function) - (todo- add all other types supported by mysql) - @todos- after review - Output: ``` (gdb) p buffer->Ptr $1 = 0x7fffe004ae48 "key1:val1,key2:val2" ```
* Add test2Anel Husakovic2019-07-087-11/+124
|
* Add new file mysql_json instead of everythingAnel Husakovic2019-07-085-184/+160
|
* Add parse_array_or_object()Anel Husakovic2019-07-082-7/+61
|
* Drop json_mysql_binary.cc and json_dom.cc 1Anel Husakovic2019-07-083-16/+157
|
* Adding changes to compileAnel Husakovic2019-07-088-14/+23
| | | | | | - Enable to compile on fresh installation of `10.3` - Don't use `auto_ptr`, use `unique_ptr` instead - Enable to compile for all storage engines
* Finish milestone 1: Read MySQL json dataAnel Husakovic2019-07-0859-10/+18747
| | | | | | - Server can read .frm files and get the output from json native mysql type - Test case is coverd in this milestone
* MDEV-19936: MyRocks: compile fails on WindowsSergei Petrunia2019-07-031-12/+13
| | | | | Part#2: Remove other unneeded files which cause compile warnings-treated-as-errors errors on Windows.
* MDEV-19936: MyRocks: compile fails on WindowsSergei Petrunia2019-07-031-2/+4
| | | | | | Don't compile table/mock_table.cc (pushing this patch to 10.3 first to make sure it fixes the issue will push to 10.2, too)
* Merge 10.2 into 10.3Marko Mäkelä2019-07-022-2/+3
|\
| * MDEV-19869: Correct the logic, and avoid type mismatchMarko Mäkelä2019-07-021-6/+5
| |
| * MDEV-19781: Skip the test for embedded serverMarko Mäkelä2019-07-021-0/+1
| |
* | Merge 10.2 into 10.3Marko Mäkelä2019-07-02320-7597/+23176
|\ \ | |/
| * MDEV-12626: Import innodb_buffer_pool_dump_pct adjusted for MDEV-11454Marko Mäkelä2019-07-022-0/+121
| |
| * MDEV-13626: Import and adjust innodb.blob-crashMarko Mäkelä2019-07-023-1/+358
| |
| * MDEV-19781 Add page id matching check in innochecksum toolThirunarayanan Balathandayuthapani2019-07-011-0/+1
| | | | | | | | | | - Changed the assert to ignore SRV_LOG_SPACE_FIRST_ID. Post push fix to address the previous commit failure.
| * MDEV-19781 Add page id matching check in innochecksum toolThirunarayanan Balathandayuthapani2019-07-011-13/+3
| | | | | | | | | | Changed the debug insert inside fil_io() to check whether it writes the page to wrong offset only for user tablespace.
| * MDEV-17228 Encrypted temporary tables are not encryptedThirunarayanan Balathandayuthapani2019-07-011-2/+4
| | | | | | | | | | - log_crypt_init() should be called from create_log_files(). Because it should re-create the new random nonce compared to the old ones.
| * MDEV-19766: Disable page dump output in debug buildsMarko Mäkelä2019-07-011-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test innodb.leaf_page_corrupted_during_recovery fails on buildbot with Warning 1406 Data too long for column 'line' at row 10 line len 16384; hex ... because of a page dumps that InnoDB is generating for a corrupted page Since this test is using debug instrumentation, we will solve the issue by disabling page dumps in debug builds altogether. Users of debug builds will likely know how to extract page dumps in other means. Page dump output could sometimes be useful when diagnosing problems that users are facing. Hence we will keep the page dump output in non-debug (release) builds.
| * MDEV-19914 Server startup fails while dropping garbage encrypted tablespace ↵Thirunarayanan Balathandayuthapani2019-07-012-1/+3
| | | | | | | | | | | | | | if innodb_encryption_threads > 0 - Avoiding accessing encryption thread mutex before initiating the encryption threads
| * MDEV-19869 Port innodb_fts.fulltext2 from mysql to mariadb.Thirunarayanan Balathandayuthapani2019-07-013-19/+71
| | | | | | | | | | | | - Ported mysql Bug#20597981 test case to mariadb-10.2 - InnoDB never used fts_doc_id_in_read_set. Basically it tells innodb to read the fts_doc_id from the index record itself.
| * MDEV-17228 Encrypted temporary tables are not encryptedThirunarayanan Balathandayuthapani2019-06-2819-72/+280
| | | | | | | | | | | | | | | | | | | | | | | | - Introduce a new variable called innodb_encrypt_temporary_tables which is a boolean variable. It decides whether to encrypt the temporary tablespace. - Encrypts the temporary tablespace based on full checksum format. - Introduced a new counter to track encrypted and decrypted temporary tablespace pages. - Warnings issued if temporary table creation has conflict value with innodb_encrypt_temporary_tables - Added a new test case which reads and writes the pages from/to temporary tablespace.
| * MDEV-19781 Add page id matching check in innochecksum toolThirunarayanan Balathandayuthapani2019-06-286-15/+163
| | | | | | | | | | | | | | | | Added the condition in innochecksum tool to check page id mismatch. This could catch the write corruption caused by InnoDB. Added the debug insert inside fil_io() to check whether it writes the page to wrong offset.
| * MDEV-14996 kill during FLUSH TABLES FOR EXPORT causes assertMonty2019-06-273-1/+28
| |
| * MDEV-19893 Do not send error packets with seqno= 0Vladislav Vaintroub2019-06-271-0/+11
| |
| * MDEV-19889 In CMakeLists.txt, use ${CMAKE_CPACK_COMMAND},rather than just cpackVladislav Vaintroub2019-06-271-2/+2
| |