Skip Menu |

This queue is for tickets about the Parse-Dia-SQL CPAN distribution.

Report information
The Basics
Id: 87327
Status: rejected
Priority: 0/
Queue: Parse-Dia-SQL

People
Owner: Nobody in particular
Requestors: doug [...] veritablesoftware.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Patch to make AUTO_INCREMENT work for MySQL
Date: Thu, 25 Jul 2013 12:19:49 -0700
To: bug-Parse-Dia-SQL [...] rt.cpan.org
From: "Douglas E. Miles" <doug [...] veritablesoftware.com>
Hi, I know this is kind of a hack, but I have a patch that allows you to specify AUTO_INCREMENT as long as you also specify NOT NULL in the value. Example: NOT NULL AUTO_INCREMENT. I know you might have something better in mind, but this does work, and might be a stop-gap to give users this functionality until a better solution can be put into place. Thanks for the great module!

Message body is not shown because sender requested not to inline it.

From: aff [...] cpan.org
On Thu Jul 25 15:19:58 2013, doug@veritablesoftware.com wrote: Show quoted text
> I know this is kind of a hack, but I have a patch that allows you to > specify AUTO_INCREMENT as long as you also specify NOT NULL in the > value.
Hi Doug Thanks for your interest in Parse-Dia-SQL. "auto_increment" support is indeed on the TODO list. However, I don't quite understand your patch code. It would be helpful with an example .dia (Diagram) file and a corresponding .t (test file) that together illustrate what you want to achieve. Please see https://github.com/aff/Parse-Dia-SQL/blob/master/t/621-output-get-schema-create-many-to-many-uml.t for an example test file. Best regards, Andreas
Rejected due to lack of feedback.