1. 03 11月, 2022 1 次提交
    • L
      fix(tianmu): fix problems related to master slave synchronization (#819) · ca2d68ff
      lihongjian 提交于
      fix 1:#818 Master slave synchronization - There will be too many tuples problem
      
      Cause:
      Tianmu::dbhandler::TianmuHandler::current_position This variable is not initialized. In some cases,
      a large value may cause too many tuples problem.
      Solution: Initialize the variable
      
      fix 2:#819 Master slave synchronization - Primary key conflict problem
      
      Solution: Modify the modification logic of master slave synchronization, so that the delete and update operations do not follow the primary key logic
      
      Supplement
      
      sql/sql_insert.cc
      Fix the problem that the insert statement will not generate binlog in the delayed insert mode
      storage/tianmu/handler/tianmu_handler.cpp
      Fix the binlog error of the line format generated by the tianmu engine
      ca2d68ff
  2. 23 10月, 2022 1 次提交
    • 悟世者's avatar
      fix(tianmu): Fixed tianmu syntax compatibility issue when continuous... · 97c9fb4d
      悟世者 提交于
          fix(tianmu): Fixed tianmu syntax compatibility issue when continuous equivalent predicates are eliminated (#733)
          The root cause is that the tianmu syntax tree conversion
          cannot support continuous null-value elimination,
          and the cleaned equal-value elimination items are retained to be compatible with the tianmu execution plan
      97c9fb4d
  3. 21 10月, 2022 2 次提交
    • 悟世者's avatar
      fix(tianmu): fix Query::Compile when happen exists subquery (#732) · 275456dd
      悟世者 提交于
          The cause of an error is
          that you need to identify the returned
          result of the exists subquery for sl->join->zero_result_cause
          Determines whether a return value exists.
          and format query.cpp
      :
      The exists subquery determines whether a value exists during the query optimization phase
      
      result is not set to zero only when a matching value is found in the query optimization phase
      
      When a field has an index, the optimization phase scans the table through the index
      
      The primary key implementation of the current column storage engine has a problem with the primary key index to scan the table for data
      
      As a result, the primary key index is used to obtain the exists subquery result in the query optimization phase. Therefore, the exists subquery is not executed in the query execution phase
      
      scan the table for data Remove the following temporary practices after primary key indexing is complete
      275456dd
    • 悟世者's avatar
      fix(tianmu): Fixed when Boolean types appear in or predicates (#747) · 58bae93d
      悟世者 提交于
          replace always true
          for examples:
          select * from t1 where b>2 or 1=2;
          select * from t1 where b>2 or 1<2;
          select * from t1 where b>2 or 1>2;
          select * from t1 where b>2 or 1=1;
          select * from t1 where b>2 or 1;
          select * from t1 where b>2 or 0;
          select * from t1 where ((((1=1) or (3=3)) and (3=3)) or ((1=100) and (5=a)));
          select * from t1 where ((((1=1) or (3=3)) and (3=4)) or ((1=100) and (5=a)));
          select * from t1 where ((((1=2) or (3=3)) and (3=3)) or ((1=100) and (5=a)));
          select * from t1 where ((((1>2) or (3=3)) and (3=3)) or ((1=1) and (5=a)));
          select * from t1 where ((((1=2) or (3<3)) and (3=3)) or ((1=1) and (5=a)));
          select * from t1 where ((((1=2) or (3<3)) and (3>1)) or ((1=1) and (5=a)));
          select * from t1 where ((((1=2) or (3=3)) and (3=1)) or ((1>1) and (5=a)));
      58bae93d
  4. 20 10月, 2022 2 次提交
  5. 18 10月, 2022 2 次提交
  6. 03 8月, 2022 1 次提交
  7. 07 7月, 2022 1 次提交
  8. 10 6月, 2022 1 次提交