1. 25 9月, 2019 3 次提交
  2. 24 9月, 2019 3 次提交
    • A
      Removed unnecessary setter for RouteUnit (#3103) · 21e644ed
      Andrew Usanin 提交于
      21e644ed
    • L
      Move encrypt from optimized module to rewrite module (#3100) · e2cdbe10
      Liang Zhang 提交于
      * change position of EncryptCondition's positionValueMap & positionIndexMap
      
      * move generate EncryptConditions from optimize to rewrite module
      
      * remove EncryptConditionOptimizedStatement.encryptConditions
      
      * move encrypt condition to rewrite module
      
      * remove EncryptWhereOptimizeEngine
      
      * remove useless parameter for EncryptOptimizeEngineFactory.newInstance()
      
      * remove EncryptTransparentOptimizedStatement
      
      * remove EncryptOptimizedStatement
      
      * remove ShardingTransparentOptimizedStatement
      
      * remove ShardingOptimizedStatement
      
      * remove rule parameter for OptimizeEngine.optimize()
      
      * remove EncryptOptimizeEngineFactory
      
      * rename ShardingOptimizeEngineFactory to OptimizedStatementFactory
      
      * rename ShardingSelectOptimizedStatement to SelectOptimizedStatement
      e2cdbe10
    • Z
      Fix SCTL statement execute error with comments (#3093) · 3df4aadf
      zhyee 提交于
      * Fix SCTL statement execute error with comment
      
      * Add  SCTLUtils class to trim sql
      3df4aadf
  3. 23 9月, 2019 5 次提交
    • Fixes #3068 Add a judgment for user's database privileges. (#3079) · c91225b3
      孙不服 提交于
      * 
      1. modify MySQLAuthenticationHandler's login method to return Optional<ProxyUser>.
      2. check response41 database with ProxyUser's database.
      3. add UT.
      
      * resolve conflicts.
      
      * try CI check again.
      
      * 
      1. move schema judgement to MySQLAuthenticationHandler.
      2. modify UT.
      
      * 
      1. modify the input parameter of MySQLAuthenticationHandler.login().
      2. modify UT.
      
      * try CI check again.
      
      * 
      1. add ER_DBACCESS_DENIED_ERROR in MySQLServerErrorCode.
      2. modify the result of MySQLAuthenticationHandler.login() to Optional<MySQLServerErrorCode>.
      3. modify UT classes.
      c91225b3
    • L
      Generic insert statement for Sharding and encrypt on optimize module (#3091) · 0591b067
      Liang Zhang 提交于
      * delete ShardingDropIndexOptimizedStatement
      
      * avoid using ShardingConditionOptimizedStatement
      
      * remove ShardingConditionOptimizedStatement
      
      * decouple GeneratedKey and columnNames
      
      * refactor InsertClauseShardingConditionEngine
      
      * refactor InsertClauseShardingConditionEngine's constructor
      
      * move GeneratedKey from optimize module to route module
      
      * rename package name org.apache.shardingsphere.core.optimize.sharding.segment.select to org.apache.shardingsphere.core.optimize.sharding.segment
      
      * merge ShardingInsertOptimizedStatement and EncryptInsertOptimizedStatement to InsertOptimizedStatement
      
      * rename OptimizedStatement.getSQLStatement() to getSqlStatement
      
      * remove ShardingOptimizeEngine & EncryptOptimizeEngine
      
      * move constant of derived values from optimize module to rewrite module
      
      * Update StandardRoutingEngineTest.java
      
      * Update ComplexRoutingEngineTest.java
      
      * Merge branch 'dev' of https://github.com/apache/incubator-shardingsphere into issue3061
      
      # Conflicts:
      #	sharding-core/sharding-core-route/src/test/java/org/apache/shardingsphere/core/route/type/complex/ComplexRoutingEngineTest.java
      #	sharding-core/sharding-core-route/src/test/java/org/apache/shardingsphere/core/route/type/standard/StandardRoutingEngineTest.java
      0591b067
    • 0856b0d8
    • C
    • Fix a document error. (#3084) · d4f9b7f2
      董宗磊 提交于
      d4f9b7f2
  4. 22 9月, 2019 2 次提交
  5. 21 9月, 2019 1 次提交
  6. 20 9月, 2019 3 次提交
  7. 19 9月, 2019 4 次提交
    • Add unit test for route module (#3066) · a347744c
      杨翊 Sion Yang 提交于
      * For #3047, Add unit test log SQL shard with parameters
      
      * For #3047, Add unit test for SPIRoutingHook
      
      * For #3047, Add unit test for RoutingUnit
      
      * For #3047, Add unit test for RoutingResult
      
      * For #3047, Add unit test for BatchRouteUnit
      
      * For #3047, Add unit test for MasterInstanceBroadcastRoutingEngine
      
      * For #3047, Add unit test for MasterSlaveRouter
      
      * For #3047, Add unit test for ShardingMasterSlaveRouter
      
      * For #3047, Add equals and toString unit test for BatchRouteUnit, RouteUnit and SQLUnit
      
      * For #3047, Refactor StandardRoutingEngineTest
      
      * For #3047, Refactor ComplexRoutingEngineTest
      
      * For #3047, Refactor AbstractSQLRouteTest and for checkstyle
      
      * For #3047, Add assertToString for RoutingUnit and TableUnit
      
      * For #3047, Add unit test for RoutingEngineFactory
      
      * For #3047, Add unit test for insert
      
      * For #3047, Conflict resolution
      
      * For #3047, Add unit test for InlineShardingStrategy
      a347744c
    • Z
      Replace localhost to real ip address (#3056) · e46ba439
      zhyee 提交于
      e46ba439
    • ShardingSphere's avatar
      Redo #2601 (#3065) · 93b8adab
      ShardingSphere 提交于
      * remove RoutingResultValidator
      
      * rename org.apache.shardingsphere.core.route.router.sharding.validator.statement to org.apache.shardingsphere.core.route.router.sharding.validator
      
      * update javadoc
      
      * add judge to whether routed data sources belong to configured data sources
      93b8adab
    • Q
  8. 18 9月, 2019 19 次提交