Skip to content

Commit 2445b1b

Browse files
committed
Typo
1 parent 7cd9af6 commit 2445b1b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

storage/connect/ha_connect.cc

Lines changed: 6 additions & 3 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.04.0003 September 15, 2015";
172+
char version[]= "Version 1.04.0003 October 20, 2015";
173173
#if defined(__WIN__)
174174
char compver[]= "Version 1.04.0003 " __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
/****************************************************************************/
@@ -2529,7 +2532,7 @@ PFIL ha_connect::CondFilter(PGLOBAL g, Item *cond)
25292532
!(colp[i]= tdbp->ColDB(g, (PSZ)pField->field->field_name, 0)))
25302533
return NULL; // Column does not belong to this table
25312534

2532-
// These are not yet implemented (buggy)
2535+
// These types are not yet implemented (buggy)
25332536
switch (pField->field->type()) {
25342537
case MYSQL_TYPE_TIMESTAMP:
25352538
case MYSQL_TYPE_DATE:

0 commit comments

Comments
 (0)