Bug #11451 | Stored procedure in a replication environment Fails | ||
---|---|---|---|
Submitted: | 20 Jun 2005 10:23 | Modified: | 21 Nov 2005 21:39 |
Reporter: | matteo brancaleoni | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S2 (Serious) |
Version: | 5.0.6-beta | OS: | Linux (Linux/windows) |
Assigned to: | Bugs System | CPU Architecture: | Any |
[20 Jun 2005 10:23]
matteo brancaleoni
[20 Jun 2005 12:40]
matteo brancaleoni
Sorry, the right subject is "replication with stored procedures fails" , ie the replication fails, not the stored procedures.
[21 Jun 2005 2:16]
MySQL Verification Team
Verified also on Windows 5.0.8 server: mysql> show slave status\G *************************** 1. row *************************** Slave_IO_State: Waiting for master to send event Master_Host: localhost Master_User: miguel Master_Port: 3306 Connect_Retry: 60 Master_Log_File: light-bin.000005 Read_Master_Log_Pos: 182 Relay_Log_File: light-relay-bin.000010 Relay_Log_Pos: 235 Relay_Master_Log_File: light-bin.000005 Slave_IO_Running: Yes Slave_SQL_Running: No Replicate_Do_DB: Replicate_Ignore_DB: Replicate_Do_Table: Replicate_Ignore_Table: Replicate_Wild_Do_Table: Replicate_Wild_Ignore_Table: Last_Errno: 1312 Last_Error: Error 'PROCEDURE test.myproc can't return a result set in the given context' on query. Default database: 'test'. Query: 'call myproc()' Skip_Counter: 0 Exec_Master_Log_Pos: 98 Relay_Log_Space: 319 Until_Condition: None Until_Log_File: Until_Log_Pos: 0 Master_SSL_Allowed: No Master_SSL_CA_File: Master_SSL_CA_Path: Master_SSL_Cert: Master_SSL_Cipher: Master_SSL_Key: Seconds_Behind_Master: NULL 1 row in set (0.00 sec) mysql>
[21 Sep 2005 9:12]
matteo brancaleoni
Seems that the problem is fixed on 5.0.12. I cannot replicate the error with this beta version.