Skip Menu |

This queue is for tickets about the DBD-mysql CPAN distribution.

Report information
The Basics
Id: 30868
Status: resolved
Priority: 0/
Queue: DBD-mysql

Owner: CAPTTOFU [...]
Requestors: Eugen.Konkov [...]

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

Subject: successfull execution of wrong query
Date: Tue, 20 Nov 2007 19:21:19 +0200
To: <bug-DBI [...]>
From: <Eugen.Konkov [...]>
Download (untitled) / with headers
text/plain 709b
I am use mysql backend as DataBase server DBI->connect("dbi:mysql:database= There is next function In database: CREATE DEFINER=`root`@`%` FUNCTION `update_task_status`( parTaskID INT(11), parStatus VarChar(32) ) RETURNS int(11) BEGIN ....... It have only two parameters to call. If i call it with three parameters "select update_task_status( 112141, 'FAILED', 3 )" program does not die while I am executing such query: $this->{sth}->execute( @_ ) or die "${DBI::err}: ${DBI::errstr} ($this->{Query})"; echo "${DBI::err}: ${DBI::errstr} ($this->{Query})"; I get on my console 1318: Incorrect number of arguments for FUNCTION akh_test_results.update_task_status; expected 2, got 3 instead of dieing
Download (untitled) / with headers
text/plain 158b
Moved to DBD-mysql queue as it's almost certainly an issue with DBD::mysql not DBI. (You may get a faster response by emailing details to
Please send me a test (the code) that causes this to manifest. Thanks!

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to