Skip to content
Snippets Groups Projects
  1. Aug 22, 2022
  2. Aug 20, 2022
  3. Aug 19, 2022
  4. Aug 18, 2022
    • wanglei's avatar
      fix: dockerignore config (#4578) · edc7a841
      wanglei authored
      1. cago compiler with link system lib, so  ignore cgo generate files
      `/usr/bin/ld` is my local Apple's linker
      
      For example:
      ```
      #16 52.59 # github.com/matrixorigin/matrixone/cmd/db-server
      #16 52.59 /usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
      #16 52.59 /usr/bin/ld: /tmp/go-link-2126209758/000006.o: in function `_cgo_df8c56550131_Cfunc_Decimal128_Add':
      #16 52.59 decimal.cgo2.c:(.text+0x71): undefined reference to `Decimal128_Add'
      #16 52.59 /usr/bin/ld: /tmp/go-link-2126209758/000006.o: in function `_cgo_df8c56550131_Cfunc_Decimal128_AddDecimal64':
      #16 52.59 decimal.cgo2.c:(.text+0xcd): undefined reference to `Decimal128_AddDecimal64'
      #16 52.59 /usr/bin/ld: /tmp/go-link-2126209758/000006.o: in function `_cgo_df8c56550131_Cfunc_Decimal128_AddInt64':
      ```
      
      2. According to #4535, the `system_vars_config.toml` will be the default config and  `make config` do not generate configuration files. So `system_vars_config.toml` should not be ignored. It's related to [optools/images/Dockerfile](https://github.com/matrixorigin/matrixone/blob/main/optools/images/Dockerfile)
      
      3. Add some other generate files, like `gen_config` and ignore generate data at `store/`.
      
      4. Fix config error
      
      Approved by: @yingfeng
      edc7a841
    • ou yuanning's avatar
      support CMD_STMT_PREPARE/EXECUTE/CLOSE command in MySQL protocol (#4566) · e3ea8272
      ou yuanning authored
      support CMD_STMT_PREPARE/EXECUTE/CLOSE  command for MySQL protocol.
      
      test code see https://github.com/matrixorigin/matrixone/issues/3693  @sukki37 's comment.
      
      Approved by: @daviszhen
      e3ea8272
    • nnsgmsone's avatar
      Fix the bug of avg (#4576) · a400cb47
      nnsgmsone authored
      Approved by: @yingfeng
      a400cb47
    • GuokeCui's avatar
      Enable flexible `morpc` option for package `logservice` (#4561) · e6e38e75
      GuokeCui authored
      - Enable flexible `morpc` option for package `logservice`
      - Extend `morpc.WithBackendFilter` in order to support network partition feature
      
      Approved by: @zhangxu19830126, @lni
      e6e38e75
    • wanglei's avatar
      feat: add dockerignore (#4565) · 3af0e6ce
      wanglei authored
      Approved by: @yingfeng
      3af0e6ce
    • nnsgmsone's avatar
      Fix the bug of union (#4562) · 51a18beb
      nnsgmsone authored
      Approved by: @yingfeng
      51a18beb
  5. Aug 17, 2022
    • aptend's avatar
    • reusee's avatar
      txnengine, txnstorage: various changes (#4553) · 1da902e4
      reusee authored
      txnengine: add Errors and extract errors in doTxnRequest
      txnengine: add Errors.As; create default database; fix Execution.Resolve
      txnengine: add MemHandler.mheap; fix MemHandler.HandleRead
      txnengine: add TestTPCH
      txnengine: add Tx.databaseName
      txnengine: add file path param to Tx.Exec
      txnengine: add typed errors
      txnengine: fix Execution.Resolve
      txnengine: fix Tx.Exec to execute all statements
      txnengine: fix engineAttrToPlanColDef
      txnengine: fix plan types gob registeration
      txnengine: gob register plan types
      txnengine: save database and table name in lowercase; set default schema name in Execution.Resolve
      txnengine: set zap logger for NewTxnService
      txnengine: trim comment lines in bvt files
      txnstorage: add AttributeRow.Order
      txnstorage: add hidden __version column
      txnstorage: fix BatchIter
      txnstorage: fix MemHandler.HandleRead
      txnstorage: use req.TableID,DatabaseID in HandleDelTableDef,HandleGetRelations,HandleGetTableDefs,HandleGetTableDefs
      
      Approved by: @lni
      1da902e4
    • daviszhen's avatar
      Add the cn-service (#4535) · c5241688
      daviszhen authored
      1. Connect the cn-service with the frontend and the computation engine.
      2. Change the configuraion mechanism to the general method. Remove the auto-generated configuration.
      
      Approved by: @zhangxu19830126, @yingfeng, @fengttt, @aptend, @reusee, @nnsgmsone, @lni
      c5241688
    • bRong Njam's avatar
    • nnsgmsone's avatar
      Support noequi join condition in hash join (#4555) · 992ab2e5
      nnsgmsone authored
      This pr is used to speed up performance-related things like join conditions like r.a = s.b and r.a > s.b, most typically tpch's q21.
      
      Approved by: @yingfeng, @aunjgr
      992ab2e5