Script Issues

Discussion of open issues, suggestions and bugs regarding database management and administration tools for MySQL
Post Reply
mimispa
Posts: 2
Joined: Mon 28 Aug 2017 14:53

Script Issues

Post by mimispa » Mon 28 Aug 2017 14:57

Hello,
I use MariaDB 10.2.7 and i found "schema comparison" and "edit table" issues.
dbForge create scripts with extra quotations.
for example:
CREATE TABLE test_db.test1_tbl (
id int(11) NOT NULL AUTO_INCREMENT,
test_str varchar(16) DEFAULT 'NULL',
test_int_1 int(11) NOT NULL DEFAULT 0,
test_int_2 int(11) DEFAULT NULL,
test_timestamp timestamp NOT NULL DEFAULT 'current_timestamp()',
PRIMARY KEY (id)
)
ENGINE = INNODB
AUTO_INCREMENT = 1
CHARACTER SET utf8
COLLATE utf8_general_ci;

CREATE TABLE test_db.test2_tbl (
id varchar(40) NOT NULL DEFAULT '''0''',
test_str varchar(16) NOT NULL DEFAULT '''0''',
PRIMARY KEY (id)
)
ENGINE = INNODB
CHARACTER SET utf8
COLLATE utf8_general_ci;

I think that when see NULL converts to 'NULL' , current_timestamp() converts to 'current_timestamp' and default string converts to '''value'''.

.jp
Devart Team
Posts: 345
Joined: Wed 09 Sep 2009 06:55
Location: devart

Re: Script Issues

Post by .jp » Tue 29 Aug 2017 07:16

Hello,

Thanks for the post!

So far, dbForge Studio for MySQL v7.2 supports the MariaDB server up to the 10.0 version.
Please have a look at the following link https://www.devart.com/dbforge/mysql/st ... ments.html.
We're going to support MariaDB v10.1 and v10.2 in the next version of the product.

Best Regards.

mimispa
Posts: 2
Joined: Mon 28 Aug 2017 14:53

Re: Script Issues

Post by mimispa » Tue 29 Aug 2017 09:41

Thanks for the reply!
Can you please, tell when next version will release?

.jp
Devart Team
Posts: 345
Joined: Wed 09 Sep 2009 06:55
Location: devart

Re: Script Issues

Post by .jp » Tue 29 Aug 2017 12:39

Hello,

The development of the new version is in the final stage. So, the release of the product is going to be available in a month or two, we hope.

Best Regards.

jmlscontrol
Posts: 1
Joined: Mon 04 Dec 2017 10:09

Re: Script Issues

Post by jmlscontrol » Mon 04 Dec 2017 10:11

I still see part of this issue with MariaDB 10.2.11 and dbForge 7.2.78 Express

when ever i change something, the change is correctly written

Code: Select all

CREATE TABLE smartconnect.post (
  id INT(11) NOT NULL AUTO_INCREMENT,
  authorId INT(11) DEFAULT NULL,
  text TINYTEXT DEFAULT 'Hej',
  datetime DATETIME DEFAULT current_timestamp(),
  timestamp TIMESTAMP NULL DEFAULT current_timestamp(),
  PRIMARY KEY (id)
)
ENGINE = INNODB
AUTO_INCREMENT = 55
AVG_ROW_LENGTH = 585
CHARACTER SET utf8
COLLATE utf8_general_ci
ROW_FORMAT = DYNAMIC;
but when i save (CTRL+S) its changed to

Code: Select all

CREATE TABLE smartconnect.post (
  id INT(11) NOT NULL AUTO_INCREMENT,
  authorId INT(11) DEFAULT NULL,
  text TINYTEXT DEFAULT 'Hej',
  datetime DATETIME DEFAULT 'current_timestamp()',
  timestamp TIMESTAMP NULL DEFAULT 'current_timestamp()',
  PRIMARY KEY (id)
)
ENGINE = INNODB
AUTO_INCREMENT = 55
AVG_ROW_LENGTH = 585
CHARACTER SET utf8
COLLATE utf8_general_ci
ROW_FORMAT = DYNAMIC;

alexa

Re: Script Issues

Post by alexa » Mon 04 Dec 2017 10:38

We are planing to release dbForge Studio for MySQL v7.3, where this issue will be resolved, this week.

Post Reply