Skip to content

Commit 8912bbb

Browse files
committed
Stamp 2.5.4.
1 parent fc01444 commit 8912bbb

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

expected/select.out

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ CREATE SERVER mysql_svr FOREIGN DATA WRAPPER mysql_fdw
1111
OPTIONS (host :MYSQL_HOST, port :MYSQL_PORT);
1212
CREATE USER MAPPING FOR PUBLIC SERVER mysql_svr
1313
OPTIONS (username :MYSQL_USER_NAME, password :MYSQL_PASS);
14+
-- Check version
15+
SELECT mysql_fdw_version();
16+
mysql_fdw_version
17+
-------------------
18+
20504
19+
(1 row)
20+
1421
-- Create foreign tables
1522
CREATE FOREIGN TABLE f_mysql_test(a int, b int)
1623
SERVER mysql_svr OPTIONS (dbname 'mysql_fdw_regress', table_name 'mysql_test');

mysql_fdw.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ unsigned int ((mysql_num_rows) (MYSQL_RES *result));
102102

103103
/*
104104
* In PG 9.5.1 the number will be 90501,
105-
* our version is 2.5.3 so number will be 20503
105+
* our version is 2.5.4 so number will be 20504
106106
*/
107-
#define CODE_VERSION 20503
107+
#define CODE_VERSION 20504
108108

109109
typedef struct MySQLFdwRelationInfo
110110
{

sql/select.sql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ CREATE SERVER mysql_svr FOREIGN DATA WRAPPER mysql_fdw
1414
CREATE USER MAPPING FOR PUBLIC SERVER mysql_svr
1515
OPTIONS (username :MYSQL_USER_NAME, password :MYSQL_PASS);
1616

17+
-- Check version
18+
SELECT mysql_fdw_version();
19+
1720
-- Create foreign tables
1821
CREATE FOREIGN TABLE f_mysql_test(a int, b int)
1922
SERVER mysql_svr OPTIONS (dbname 'mysql_fdw_regress', table_name 'mysql_test');

0 commit comments

Comments
 (0)