Skip to content

Commit 228a04d

Browse files
Code Review feedback
1 parent d856ef4 commit 228a04d

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

mysql-test/suite/villagesql/ps/r/ps_encode_context_reuse_complex.result

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
CREATE TABLE t1 (id INT, val COMPLEX);
22
INSERT INTO t1 VALUES (1,'(1.0,2.0)'),(2,'(3.0,4.0)'),(3,'(5.0,6.0)'),(4,'(1.0,2.0)');
33
PREPARE stmt FROM 'SELECT id FROM t1 WHERE val = ? ORDER BY id';
4-
SET @p = '(1.0,2.0)';
4+
SET @p = '(1,2)';
55
EXECUTE stmt USING @p;
66
id
77
1
88
4
9-
SET @p = '(3.0,4.0)';
9+
SET @p = '(3,4)';
1010
EXECUTE stmt USING @p;
1111
id
1212
2
13-
SET @p = '(5.0,6.0)';
13+
SET @p = '(5,6)';
1414
EXECUTE stmt USING @p;
1515
id
1616
3

mysql-test/suite/villagesql/ps/t/ps_encode_context_reuse_complex.test

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ INSERT INTO t1 VALUES (1,'(1.0,2.0)'),(2,'(3.0,4.0)'),(3,'(5.0,6.0)'),(4,'(1.0,2
1515
# EncodeContext, not a stale pointer from a prior execution.
1616
PREPARE stmt FROM 'SELECT id FROM t1 WHERE val = ? ORDER BY id';
1717

18-
SET @p = '(1.0,2.0)';
18+
SET @p = '(1,2)';
1919
EXECUTE stmt USING @p;
2020

21-
SET @p = '(3.0,4.0)';
21+
SET @p = '(3,4)';
2222
EXECUTE stmt USING @p;
2323

24-
SET @p = '(5.0,6.0)';
24+
SET @p = '(5,6)';
2525
EXECUTE stmt USING @p;
2626

2727
DEALLOCATE PREPARE stmt;

0 commit comments

Comments
 (0)