Ticket #498 (closed defect: duplicate)

Opened 10 months ago

Last modified 10 months ago

[PATCH] Port in DM plugin needs to be cast to integer

Reported by: jonath..@jaikoo.com Assigned to:
Priority: major Milestone: The Future
Component: Plugin: DataMapper Keywords:
Cc:

Description

Currently all the values are read straight from the database.yml file without any massaging. This causes a problem if the port is specified as it's read in as a string but do_mysql requires that it's an integer and promptly throws an error.

Attachments

port_needs_to_be_cast_to_int_before_being_passed_to_do_mysql.diff (1.5 kB) - added by jonath..@jaikoo.com on 02/05/08 11:51:30.

Change History

02/05/08 11:51:30 changed by jonath..@jaikoo.com

  • attachment port_needs_to_be_cast_to_int_before_being_passed_to_do_mysql.diff added.

02/11/08 13:27:35 changed by shayarne..@gmail.com

  • status changed from new to closed.
  • resolution set to duplicate.