mariadb/storage/connect
Sergei Golubchik e3d9369774 cleanup: disconnect before DROP USER
let's always disconnect a user connection before dropping the said user.
MariaDB is traditionally very tolerant to active connections
of the dropped user, which isn't the case for most other databases.

Let's avoid unintentionally spreading incompatible behavior
and disconnect before drop.

Except in cases when the test specifically tests such a behavior.
2025-07-16 09:14:33 +07:00
..
mysql-test/connect cleanup: disconnect before DROP USER 2025-07-16 09:14:33 +07:00
.gitignore
ApacheInterface.java
array.cpp Minimize unsafe C functions usage - replace strcat() and strcpy() (and strncat() and strncpy()) with custom safe_strcat() and safe_strcpy() functions 2023-01-20 15:18:52 +02:00
array.h Fix typos in C comments inside storage/ 2025-03-26 16:56:50 +04:00
blkfil.cpp Use memory safe snprintf() in Connect Engine 2022-07-26 16:28:59 +10:00
blkfil.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
block.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
bson.cpp Merge commit '10.4' into 10.5 2023-07-20 11:54:52 +02:00
bson.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
bsonudf.cpp Merge branch '10.6' into 10.11 2025-06-04 14:09:23 +02:00
bsonudf.h MDEV-36894 JSNX::SetArrayOptions and BJNX::SetArrayOptions unused nm arg 2025-05-28 16:33:09 +10:00
catalog.h MDEV-30713 field length handling for CONNECT engine 2023-04-21 15:47:53 +01:00
checklvl.h
Client.java
Client2.java - Fix MDEV-25863 : Replace __WIN__ by _WIN32 2021-06-08 17:44:43 +02:00
Client3.java - Fix MDEV-25863 : Replace __WIN__ by _WIN32 2021-06-08 17:44:43 +02:00
CMakeLists.txt Merge branch '10.11' into 11.4 2025-04-26 10:53:02 +02:00
cmgfam.cpp - Major update of the json/bson/mongo table types programs. 2021-05-01 22:29:38 +02:00
cmgfam.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
cmgoconn.cpp Fix insecure use of strcpy, strcat and sprintf in Connect 2023-05-12 15:37:00 +01:00
cmgoconn.h - Mongo defined columns 2021-05-24 16:56:12 +02:00
colblk.cpp Merge 10.4 into 10.5 2022-07-27 17:17:24 +03:00
colblk.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
connect.cc Merge 11.4 into 11.8 2025-04-02 14:07:01 +03:00
connect.h Pull new version from origin 2020-03-12 19:16:36 +01:00
csort.cpp Fix typos in C comments inside storage/ 2025-03-26 16:56:50 +04:00
csort.h Apply clang-tidy to remove empty constructors / destructors 2023-02-09 16:09:08 +02:00
domdoc.cpp enforce no trailing \n in Diagnostic_area messages 2025-01-07 16:31:39 +01:00
domdoc.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
encas.h
engmsg.h
enids.h
filamap.cpp Merge branch '10.3' into 10.4 2022-07-27 11:02:57 +02:00
filamap.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
filamdbf.cpp Removed compiler warning from connect/filamdbf.cpp 2023-09-05 19:36:58 +03:00
filamdbf.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
filamfix.cpp Merge branch '10.3' into 10.4 2023-01-28 18:22:55 +01:00
filamfix.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
filamgz.cpp Fix typos in C comments inside storage/ 2025-03-26 16:56:50 +04:00
filamgz.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
filamtxt.cpp Fix typos in C comments inside storage/ 2025-03-26 16:56:50 +04:00
filamtxt.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
filamvct.cpp Merge commit '10.4' into 10.5 2023-07-20 11:54:52 +02:00
filamvct.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
filamzip.cpp Merge commit '10.4' into 10.5 2023-07-20 11:54:52 +02:00
filamzip.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
filter.cpp Fix typos in C comments inside storage/ 2025-03-26 16:56:50 +04:00
filter.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
fmdlex.c Fix typos in C comments inside storage/ 2025-03-26 16:56:50 +04:00
global.h Use memory safe snprintf() in Connect Engine and elsewhere (#2210) 2022-09-28 15:45:25 +01:00
ha_connect.cc Merge branch '11.8' into 12.0 2025-06-18 07:50:39 +02:00
ha_connect.h Fix typos in C comments inside storage/ 2025-03-26 16:56:50 +04:00
inihandl.cpp Fix typos in C comments inside storage/ 2025-03-26 16:56:50 +04:00
inihandl.h
ioapi.c clang15 warnings - unused vars and old prototypes 2023-01-10 17:10:43 +00:00
ioapi.h Merge branch 10.4 into 10.5 2024-05-06 13:55:42 +02:00
javaconn.cpp Merge branch '11.2' into 11.3 2023-09-21 14:15:04 +04:00
javaconn.h - Fix MDEV-25863 : Replace __WIN__ by _WIN32 2021-06-08 17:44:43 +02:00
jdbccat.h
JdbcInterface.java
jdbconn.cpp Merge branch '10.5' into 10.6 2023-08-01 15:08:52 +02:00
jdbconn.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
jmgfam.cpp - Fix MDEV-25863 : Replace __WIN__ by _WIN32 2021-06-08 17:44:43 +02:00
jmgfam.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
jmgoconn.cpp Fix insecure use of strcpy, strcat and sprintf in Connect 2023-05-12 15:37:00 +01:00
jmgoconn.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
json.cpp Merge branch '10.6' into 10.9 2023-08-04 08:01:06 +02:00
json.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
jsonudf.cpp Merge branch '10.6' into 10.11 2025-06-04 14:09:23 +02:00
jsonudf.h MDEV-36894 JSNX::SetArrayOptions and BJNX::SetArrayOptions unused nm arg 2025-05-28 16:33:09 +10:00
libdoc.cpp Merge 10.6 into 10.11 2024-06-27 10:26:09 +03:00
libdoc.h
macutil.cpp Fix insecure use of strcpy, strcat and sprintf in Connect 2023-05-12 15:37:00 +01:00
macutil.h - Fix MDEV-25863 : Replace __WIN__ by _WIN32 2021-06-08 17:44:43 +02:00
maputil.cpp Merge 10.4 into 10.5 2022-07-27 17:17:24 +03:00
maputil.h Fix compile error on LINUX (LARGE_INTEGER) 2020-11-03 23:19:22 +01:00
MariadbInterface.java
messages.h Remove unused French translations in Connect engine (#2252) 2023-05-19 13:21:34 +01:00
mini-global.h In CONNECT version 1.6.10 NOSQL facility is enhanced by a new way to retrieve NOSQL data. 2019-08-24 16:14:24 +02:00
mongo.cpp Use memory safe snprintf() in Connect Engine 2022-07-26 16:28:59 +10:00
mongo.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
Mongo2Interface.java - Fix MDEV-25863 : Replace __WIN__ by _WIN32 2021-06-08 17:44:43 +02:00
Mongo3Interface.java - Fix MDEV-25863 : Replace __WIN__ by _WIN32 2021-06-08 17:44:43 +02:00
msgid.h
mycat.cc Merge 10.5 into 10.6 2022-07-27 17:52:37 +03:00
mycat.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
myconn.cpp MDEV-31857 enable --ssl-verify-server-cert by default in the internal client 2024-02-04 22:19:19 +01:00
myconn.h - Fix MDEV-25863 : Replace __WIN__ by _WIN32 2021-06-08 17:44:43 +02:00
MysqlInterface.java
myutil.cpp MDEV-29782 CONNECT YEAR type conversion fix 2023-02-21 17:55:01 +00:00
myutil.h - Make possible to allocate work space larger than 4GB 2020-10-01 19:18:26 +02:00
noconst.c MDEV-25602 Eliminate the rest of __WIN__ in Connect 2021-08-05 11:32:41 +02:00
odbccat.h
odbconn.cpp Fix typos in C comments inside storage/ 2025-03-26 16:56:50 +04:00
odbconn.h - Fix MDEV-25863 : Replace __WIN__ by _WIN32 2021-06-08 17:44:43 +02:00
OracleInterface.java
os.h - Fix MDEV-25863 : Replace __WIN__ by _WIN32 2021-06-08 17:44:43 +02:00
osutil.c Fix insecure use of strcpy, strcat and sprintf in Connect 2023-05-12 15:37:00 +01:00
osutil.h In CONNECT version 1.6.10 NOSQL facility is enhanced by a new way to retrieve NOSQL data. 2019-08-24 16:14:24 +02:00
plgcnx.h Fix typos in C comments inside storage/ 2025-03-26 16:56:50 +04:00
plgdbsem.h Fix remaining typos 2025-04-29 11:18:00 +10:00
plgdbutl.cpp Fix typos in C comments inside storage/ 2025-03-26 16:56:50 +04:00
plgodbc.h
plgxml.cpp Fix typos in C comments inside storage/ 2025-03-26 16:56:50 +04:00
plgxml.h MDEV-36427 - FTBFS with libxml2 2.14.0 2025-04-07 11:16:20 +02:00
plugutil.cpp Fix insecure use of strcpy, strcat and sprintf in Connect 2023-05-12 15:37:00 +01:00
PostgresqlInterface.java
preparse.h
rcmsg.c Remove unused French translations in Connect engine (#2252) 2023-05-19 13:21:34 +01:00
rcmsg.h
reldef.cpp Fix typos in C comments inside storage/ 2025-03-26 16:56:50 +04:00
reldef.h Fix typos in C comments inside storage/ 2025-03-26 16:56:50 +04:00
resource.h
rest.def In CONNECT version 1.6.10 NOSQL facility is enhanced by a new way to retrieve NOSQL data. 2019-08-24 16:14:24 +02:00
restget.cpp Update to version 1.07 (as for MariaDB 10.2) 2020-01-09 16:10:25 +01:00
tabbson.cpp Merge branch '10.4' into 10.5 2023-04-24 12:43:47 +02:00
tabbson.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
tabcmg.cpp - Make user variable prefix recognized by IsArgJson and IsJson 2021-07-24 16:28:57 +02:00
tabcmg.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
tabcol.cpp
tabcol.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
tabdos.cpp Fix typos in C comments inside storage/ 2025-03-26 16:56:50 +04:00
tabdos.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
tabext.cpp Trivial fixes: 2024-01-23 13:03:12 +02:00
tabext.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
tabfix.cpp Merge 10.4 into 10.5 2022-07-27 17:17:24 +03:00
tabfix.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
tabfmt.cpp Fix typos in C comments inside storage/ 2025-03-26 16:56:50 +04:00
tabfmt.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
tabjdbc.cpp Fix typos in C comments inside storage/ 2025-03-26 16:56:50 +04:00
tabjdbc.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
tabjmg.cpp Fix Connect compile issue 2023-05-15 09:22:26 +01:00
tabjmg.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
tabjson.cpp Merge 10.5 into 10.6 2023-04-25 13:10:33 +03:00
tabjson.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
table.cpp Use memory safe snprintf() in Connect Engine 2022-07-26 16:28:59 +10:00
tabmac.cpp Use memory safe snprintf() in Connect Engine 2022-07-26 16:28:59 +10:00
tabmac.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
tabmul.cpp Fix typos in C comments inside storage/ 2025-03-26 16:56:50 +04:00
tabmul.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
tabmysql.cpp Merge commit '10.4' into 10.5 2023-07-20 11:54:52 +02:00
tabmysql.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
taboccur.cpp Merge 10.4 into 10.5 2022-07-27 17:17:24 +03:00
taboccur.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
tabodbc.cpp Merge branch '10.4' into 10.5 2022-10-02 14:38:13 +02:00
tabodbc.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
tabpivot.cpp Fix typos in C comments inside storage/ 2025-03-26 16:56:50 +04:00
tabpivot.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
tabrest.cpp Fix typos in C comments inside storage/ 2025-03-26 16:56:50 +04:00
tabrest.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
tabsys.cpp Fix insecure use of strcpy, strcat and sprintf in Connect 2023-05-12 15:37:00 +01:00
tabsys.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
tabtbl.cpp clang15 warnings - unused vars and old prototypes 2023-01-10 17:10:43 +00:00
tabtbl.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
tabutil.cpp Merge 10.6 into 10.7 2022-07-27 18:26:21 +03:00
tabutil.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
tabvct.cpp Fix typos in C comments inside storage/ 2025-03-26 16:56:50 +04:00
tabvct.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
tabvir.cpp Use memory safe snprintf() in Connect Engine 2022-07-26 16:28:59 +10:00
tabvir.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
tabwmi.cpp Fix typos in C comments inside storage/ 2025-03-26 16:56:50 +04:00
tabwmi.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
tabxcl.cpp Fixed compiler warning from clang in connect/tabxcl.cpp 2025-06-02 14:02:53 +03:00
tabxcl.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
tabxml.cpp Merge branch '11.8' into 12.0 2025-05-22 09:22:55 +02:00
tabxml.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
tabzip.cpp Use memory safe snprintf() in Connect Engine 2022-07-26 16:28:59 +10:00
tabzip.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
TestInsert2.java - Fix MDEV-25863 : Replace __WIN__ by _WIN32 2021-06-08 17:44:43 +02:00
TestInsert3.java - Fix MDEV-25863 : Replace __WIN__ by _WIN32 2021-06-08 17:44:43 +02:00
unzip.c Fix typos in C comments inside storage/ 2025-03-26 16:56:50 +04:00
unzip.h Merge branch 'merge-zlib' (1.3.1) into 10.4 2024-04-26 13:50:03 +02:00
user_connect.cc Merge branch '11.8' into main 2025-04-18 17:11:01 +02:00
user_connect.h cleanup: remove unconditional #ifdef's 2024-11-05 14:00:47 -08:00
valblk.cpp Merge branch '10.3' into 10.4 2022-10-01 23:07:26 +02:00
valblk.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
value.cpp Fix typos in C comments inside storage/ 2025-03-26 16:56:50 +04:00
value.h Merge remote-tracking branch 'origin/11.4' into 11.5 2024-07-10 12:17:09 +04:00
xindex.cpp Fix remaining typos 2025-04-29 11:18:00 +10:00
xindex.h Fix typos in C comments inside storage/ 2025-03-26 16:56:50 +04:00
xobject.cpp Use memory safe snprintf() in Connect Engine 2022-07-26 16:28:59 +10:00
xobject.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
xtable.h MDEV-33746 Supply missing override markings 2024-06-20 11:32:13 -04:00
zip.c Merge branch '10.5' into 10.6 2024-05-08 20:06:00 +02:00
zip.h Merge branch 'merge-zlib' (1.3.1) into 10.4 2024-04-26 13:50:03 +02:00