Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix mysql execute() not always auto-commit #1064

Merged
merged 5 commits into from
Jul 1, 2020
Merged

Conversation

zhoney
Copy link
Contributor

@zhoney zhoney commented Jun 30, 2020

Change-Id: I140a2864a4380be865adfcc1b0634a7b8c9f2a33

Change-Id: I140a2864a4380be865adfcc1b0634a7b8c9f2a33
Change-Id: I01b956c97b93c43a2d69f7294bb4122453382005
@codecov
Copy link

codecov bot commented Jun 30, 2020

Codecov Report

Merging #1064 into master will increase coverage by 8.39%.
The diff coverage is 0.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #1064      +/-   ##
============================================
+ Coverage     59.92%   68.32%   +8.39%     
- Complexity     4571     5394     +823     
============================================
  Files           328      328              
  Lines         26400    26400              
  Branches       3773     3773              
============================================
+ Hits          15820    18037    +2217     
+ Misses         8857     6583    -2274     
- Partials       1723     1780      +57     
Impacted Files Coverage Δ Complexity Δ
...u/hugegraph/backend/store/mysql/MysqlSessions.java 65.75% <0.00%> (-1.37%) 27.00 <0.00> (ø)
...raph/backend/store/postgresql/PostgresqlStore.java 0.00% <0.00%> (-100.00%) 0.00% <0.00%> (-2.00%)
...raph/backend/store/postgresql/PostgresqlTable.java 0.00% <0.00%> (-100.00%) 0.00% <0.00%> (-19.00%)
...kend/store/postgresql/PostgresqlStoreProvider.java 0.00% <0.00%> (-92.50%) 0.00% <0.00%> (-5.00%)
...aph/backend/store/postgresql/PostgresqlTables.java 0.00% <0.00%> (-87.96%) 0.00% <0.00%> (-1.00%)
...backend/store/postgresql/PostgresqlSerializer.java 0.00% <0.00%> (-85.72%) 0.00% <0.00%> (-4.00%)
...h/backend/store/postgresql/PostgresqlSessions.java 0.00% <0.00%> (-71.80%) 0.00% <0.00%> (-9.00%)
...aidu/hugegraph/backend/store/mysql/MysqlStore.java 77.66% <0.00%> (-1.02%) 41.00% <0.00%> (-2.00%)
...aidu/hugegraph/backend/store/mysql/MysqlTable.java 80.99% <0.00%> (-0.56%) 95.00% <0.00%> (-1.00%)
... and 130 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ac02492...ac9dca5. Read the comment docs.

Change-Id: I5a24cb1118ddc3c271476c74d7574e6444375799
sed -i "s/#jdbc.username=.*/jdbc.username=$POSTGRESQL_USERNAME/" $CONF
sed -i "s/#jdbc.driver=com.mysql.jdbc.Driver/jdbc.driver=$POSTGRESQL_DRIVER/" $CONF
sed -i "s?#jdbc.url=jdbc:mysql://127.0.0.1:3306?jdbc.url=$POSTGRESQL_URL?" $CONF
sed -i "s/#jdbc.username=root/jdbc.username=$POSTGRESQL_USERNAME/" $CONF
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just enable the default options

Change-Id: I3c3b866f575324f1b50585a09c27dc772b355379
javeme
javeme previously approved these changes Jun 30, 2020
Change-Id: Ib6749a8a5e003c312cc284795a7e37312755ead1
@Linary Linary merged commit a0ea782 into master Jul 1, 2020
@Linary Linary deleted the fix-pg-auto-commit branch July 1, 2020 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants