1. 16 4月, 2019 1 次提交
    • martianzhang's avatar
      fix index col compare case sensitive bug · c2299c3f
      martianzhang 提交于
        CREATE TABLE test_id (
          ID int,
          PRIMARY KEY (`ID`)
        )
        SELECT * FROM test_id WHERE id=1;
      
        fix explain NULL able column bug
      
        +----+-------------+-------+------------+------+---------------+------+---------+------+------+----------+--------------------------------+
        | id | select_type | table | partitions | type | possible_keys | key  | key_len | ref  | rows | filtered | Extra                          |
        +----+-------------+-------+------------+------+---------------+------+---------+------+------+----------+--------------------------------+
        |  1 | SIMPLE      | NULL  | NULL       | NULL | NULL          | NULL | NULL    | NULL | NULL |     NULL | no matching row in const table |
        +----+-------------+-------+------------+------+---------------+------+---------+------+------+----------+--------------------------------+
      c2299c3f
  2. 12 2月, 2019 1 次提交
  3. 11 1月, 2019 1 次提交
  4. 10 1月, 2019 1 次提交
  5. 09 1月, 2019 1 次提交
  6. 08 1月, 2019 1 次提交
    • martianzhang's avatar
      add cli test frame work bats (#181) · 9df3418c
      martianzhang 提交于
      * import bats for cli test
      
        https://github.com/sstephenson/bats
      
      * add simple test case for cli use bats
      
      * format main.bats add env
      
      * replace main_test.sh with main.bats
      
        make explain suggestion sorted
        make index suggestion sorted
      
      * add test database world_x
      
      * update bats golden result
      
      * make docker add 180s timeout
      
        1. add timeout for docker start
        2. add not explain able sql test case into explain_test.go
      
      * explain info Using index VS Using index condition
      
        remove nonappearence key from explain extra info
      
      * add timeout for test
      9df3418c
  7. 05 1月, 2019 3 次提交
  8. 04 1月, 2019 1 次提交
  9. 03 1月, 2019 1 次提交
  10. 02 1月, 2019 1 次提交
    • martianzhang's avatar
      fix #176 · a75d1c65
      martianzhang 提交于
        JSON datatype only support utf8mb4 now
      a75d1c65
  11. 28 12月, 2018 4 次提交
  12. 27 12月, 2018 2 次提交
  13. 26 12月, 2018 2 次提交
  14. 24 12月, 2018 5 次提交
  15. 23 12月, 2018 1 次提交
  16. 22 12月, 2018 2 次提交
  17. 20 12月, 2018 1 次提交
  18. 19 12月, 2018 6 次提交
  19. 11 12月, 2018 1 次提交
  20. 06 12月, 2018 1 次提交
  21. 04 12月, 2018 2 次提交
  22. 27 11月, 2018 1 次提交