mirror of
https://github.com/mariadb-corporation/mariadb-connector-python.git
synced 2025-08-15 23:42:40 +00:00
Fix rowcount calculation for emulated bulk operations
This commit is contained in:
@ -743,6 +743,8 @@ class TestCursor(unittest.TestCase):
|
||||
|
||||
def test_sp3(self):
|
||||
con= create_connection()
|
||||
if con.server_version < 100301:
|
||||
self.skipTest("Not supported in versions < 10.3")
|
||||
cursor= con.cursor()
|
||||
cursor.execute("DROP PROCEDURE IF EXISTS p3")
|
||||
cursor.execute("CREATE PROCEDURE p3(IN s1 VARCHAR(20), IN s2 VARCHAR(20), OUT o1 VARCHAR(40) )\nBEGIN\nSELECT '1';\nSET o1:=CAST(CONCAT(s1,s2) AS char CHARACTER SET utf8mb4);\nEND")
|
||||
|
Reference in New Issue
Block a user