diff options
author | Olivier Bertrand <bertrandop@gmail.com> | 2014-03-27 19:07:17 +0100 |
---|---|---|
committer | Olivier Bertrand <bertrandop@gmail.com> | 2014-03-27 19:07:17 +0100 |
commit | bdbe7430bc16d8cff18733b84de5db62c89ad5d9 (patch) | |
tree | 3c0ffc754749454b256b7707a8d841d7ab39955a /storage/connect/connect.h | |
parent | 9bf8a68577c48bec2e9bdd86026dd7207d34f556 (diff) | |
download | mariadb-git-bdbe7430bc16d8cff18733b84de5db62c89ad5d9.tar.gz |
- Make local MySQL connection default to unix socket on Linux or enable
to use named pipe on Windows by specifying the host as '.'
This addresses MDEV-5952.
modified:
storage/connect/myconn.cpp
- Clean some unused code
modified:
storage/connect/connect.cc
storage/connect/connect.h
storage/connect/ha_connect.cc
storage/connect/ha_connect.h
Diffstat (limited to 'storage/connect/connect.h')
-rw-r--r-- | storage/connect/connect.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/storage/connect/connect.h b/storage/connect/connect.h index be423fcb575..4c9cee46daf 100644 --- a/storage/connect/connect.h +++ b/storage/connect/connect.h @@ -36,8 +36,7 @@ bool CntRewindTable(PGLOBAL g, PTDB tdbp); int CntCloseTable(PGLOBAL g, PTDB tdbp); int CntIndexInit(PGLOBAL g, PTDB tdbp, int id); RCODE CntReadNext(PGLOBAL g, PTDB tdbp); -RCODE CntIndexRead(PGLOBAL g, PTDB, OPVAL op, const void *k, int n, - bool mrr = false); +RCODE CntIndexRead(PGLOBAL g, PTDB, OPVAL op, const void *k, int n); RCODE CntWriteRow(PGLOBAL g, PTDB tdbp); RCODE CntUpdateRow(PGLOBAL g, PTDB tdbp); RCODE CntDeleteRow(PGLOBAL g, PTDB tdbp, bool all); @@ -61,7 +60,7 @@ class TDBDOX: public TDBDOS { friend int MakeIndex(PGLOBAL, PTDB, PIXDEF); friend int CntCloseTable(PGLOBAL, PTDB); friend int CntIndexInit(PGLOBAL, PTDB, int); - friend RCODE CntIndexRead(PGLOBAL, PTDB, OPVAL, const void*, int, bool); + friend RCODE CntIndexRead(PGLOBAL, PTDB, OPVAL, const void*, int); friend RCODE CntDeleteRow(PGLOBAL, PTDB, bool); friend int CntIndexRange(PGLOBAL, PTDB, const uchar**, uint*, bool*, key_part_map*); |