Skip to content

Commit ac9141c

Browse files
committed
Merge branch 'ob-10.0' into 10.0
2 parents f515422 + d51e466 commit ac9141c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

storage/connect/ha_connect.cc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
#define JSONMAX 10 // JSON Default max grp size
170170

171171
extern "C" {
172-
char version[]= "Version 1.03.0007 October 18, 2015";
172+
char version[]= "Version 1.03.0007 October 20, 2015";
173173
#if defined(__WIN__)
174174
char compver[]= "Version 1.03.0007 " __DATE__ " " __TIME__;
175175
char slash= '\\';
@@ -1134,7 +1134,10 @@ PTOS ha_connect::GetTableOptionStruct(TABLE_SHARE *s)
11341134
{
11351135
TABLE_SHARE *tsp= (tshp) ? tshp : (s) ? s : table_share;
11361136

1137-
return (tsp) ? tsp->option_struct : NULL;
1137+
return (tsp && (!tsp->db_plugin ||
1138+
!stricmp(plugin_name(tsp->db_plugin)->str, "connect") ||
1139+
!stricmp(plugin_name(tsp->db_plugin)->str, "partition")))
1140+
? tsp->option_struct : NULL;
11381141
} // end of GetTableOptionStruct
11391142

11401143
/****************************************************************************/

0 commit comments

Comments
 (0)