提交 e42e0803 authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Set up Mode.regexpReplaceBackslashReferences for MySQL / MariaDB and PostgreSQL too

上级 c877fe32
...@@ -245,6 +245,8 @@ public class Mode { ...@@ -245,6 +245,8 @@ public class Mode {
mode.convertInsertNullToZero = true; mode.convertInsertNullToZero = true;
mode.indexDefinitionInCreateTable = true; mode.indexDefinitionInCreateTable = true;
mode.lowerCaseIdentifiers = true; mode.lowerCaseIdentifiers = true;
// Next one is for MariaDB
mode.regexpReplaceBackslashReferences = true;
mode.onDuplicateKeyUpdate = true; mode.onDuplicateKeyUpdate = true;
// MySQL allows to use any key for client info entries. See // MySQL allows to use any key for client info entries. See
// http://grepcode.com/file/repo1.maven.org/maven2/mysql/ // http://grepcode.com/file/repo1.maven.org/maven2/mysql/
...@@ -275,6 +277,7 @@ public class Mode { ...@@ -275,6 +277,7 @@ public class Mode {
mode.supportOffsetFetch = true; mode.supportOffsetFetch = true;
mode.systemColumns = true; mode.systemColumns = true;
mode.logIsLogBase10 = true; mode.logIsLogBase10 = true;
mode.regexpReplaceBackslashReferences = true;
mode.serialColumnIsNotPK = true; mode.serialColumnIsNotPK = true;
// PostgreSQL only supports the ApplicationName property. See // PostgreSQL only supports the ApplicationName property. See
// https://github.com/hhru/postgres-jdbc/blob/master/postgresql-jdbc-9.2-1002.src/ // https://github.com/hhru/postgres-jdbc/blob/master/postgresql-jdbc-9.2-1002.src/
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论