1. 01 11月, 2022 2 次提交
  2. 31 10月, 2022 1 次提交
  3. 28 10月, 2022 1 次提交
  4. 27 10月, 2022 3 次提交
  5. 26 10月, 2022 8 次提交
  6. 25 10月, 2022 3 次提交
  7. 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
  8. 21 10月, 2022 5 次提交
    • 悟世者'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
    • L
      fix(tianmu): fix bug:'on duplicate key update' scenario, incorrect result occurs. (#502) · c95aa858
      lujiashun 提交于
      [summary]
      1 the root reason is because of the variable ‘tianmu_insert_delayed’,set it off;
      2 in debug version, it crashes, fix it;
      3 add mtr case for this issue;
      c95aa858
    • L
      fix(core): fix the bug of incorrect result set of count function (#736) (#756) · 7cb517cf
      lylth 提交于
      Replace the function FindCurrentRowByVMTable that gets the current row to FindCurrentRow.
      7cb517cf
    • S
      shizhao test · 83f5f4bb
      shizhao 提交于
      83f5f4bb
  9. 20 10月, 2022 1 次提交
  10. 18 10月, 2022 1 次提交
    • 悟世者's avatar
      ond · b43c48e9
      悟世者 提交于
          fix issuse 468 461 mtr result
      b43c48e9
  11. 17 10月, 2022 1 次提交
  12. 13 10月, 2022 6 次提交
  13. 12 10月, 2022 7 次提交
    • 悟世者's avatar
      fix delete mtr result · 46d03652
      悟世者 提交于
      46d03652
    • 悟世者's avatar
      fix delete mtr result · 04ca8f76
      悟世者 提交于
      04ca8f76
    • 悟世者's avatar
      fix delete mtr · 246610b9
      悟世者 提交于
      246610b9
    • 悟世者's avatar
      revert delete mtr · 5b46eac4
      悟世者 提交于
      5b46eac4
    • 悟世者's avatar
      fix delete.result of · b7e16949
      悟世者 提交于
          remote
      
              CREATE TABLE t1 (a int not null,b int not null)ENGINE=TIANMU;
              CREATE TABLE t2 (a int not null, b int not null, primary key (a,b))ENGINE=TIANMU;
              CREATE TABLE t3 (a int not null, b int not null, primary key (a,b))ENGINE=TIANMU;
              insert into t1 values (1,1),(2,1),(1,3);
              insert into t2 values (1,1),(2,2),(3,3);
              insert into t3 values (1,1),(2,1),(1,3);
              select * from t1,t2,t3 where t1.a=t2.a AND t2.b=t3.a and t1.b=t3.b;
              delete t2.*,t3.* from t1,t2,t3 where t1.a=t2.a AND t2.b=t3.a and t1.b=t3.b;
              # This should be empty
              select * from t3;
              drop table t1,t2,t3;
      
              delete t2.*,t3.* from t1,t2,t3 where t1.a=t2.a AND t2.b=t3.a and t1.b=t3.b;
              select * from t3;
              ab
      
              delete t2.*,t3.* from t1,t2,t3 where t1.a=t2.a AND t2.b=t3.a and t1.b=t3.b;
              select * from t3;
              ab
              11
              21
              13
      
          because of https://github.com/stoneatom/stonedb/issues/678
      b7e16949
    • 悟世者's avatar
      fix delete.result of · ae915363
      悟世者 提交于
          -- error ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE
          DELETE t2 FROM t1 JOIN t2 WHERE t1.a = 10;
      ae915363
    • 悟世者's avatar
      fix delete.result of · 1d3ed736
      悟世者 提交于
          remove explain, Currently, the query plan is
          in the process of change and modification,
          and the consistency check of the query plan is not performed
      1d3ed736