mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
- JdbcInterface: change return type of ...Field function
modified: storage/connect/JdbcInterface.java - Change Version number and date modified: storage/connect/ha_connect.cc - Implement the test on connect_type_conv YES/NO modified: storage/connect/jdbconn.cpp modified: storage/connect/odbconn.cpp - Fix MDEV-10520. Local schema was confused with remote schema modified: storage/connect/tabjdbc.cpp modified: storage/connect/tabodbc.cpp - Fix crash when using mapped indices. Was trying to write in a mapped file declared as read only. modified: storage/connect/xindex.cpp
This commit is contained in:
@@ -522,9 +522,10 @@ bool TDBJDBC::MakeSQL(PGLOBAL g, bool cnt)
|
||||
if (Catalog && *Catalog)
|
||||
catp = Catalog;
|
||||
|
||||
if (tablep->GetSchema())
|
||||
schmp = (char*)tablep->GetSchema();
|
||||
else if (Schema && *Schema)
|
||||
//if (tablep->GetSchema())
|
||||
// schmp = (char*)tablep->GetSchema();
|
||||
//else
|
||||
if (Schema && *Schema)
|
||||
schmp = Schema;
|
||||
|
||||
if (catp) {
|
||||
@@ -606,9 +607,10 @@ bool TDBJDBC::MakeInsert(PGLOBAL g)
|
||||
if (catp)
|
||||
len += strlen(catp) + 1;
|
||||
|
||||
if (tablep->GetSchema())
|
||||
schmp = (char*)tablep->GetSchema();
|
||||
else if (Schema && *Schema)
|
||||
//if (tablep->GetSchema())
|
||||
// schmp = (char*)tablep->GetSchema();
|
||||
//else
|
||||
if (Schema && *Schema)
|
||||
schmp = Schema;
|
||||
|
||||
if (schmp)
|
||||
|
Reference in New Issue
Block a user