mariadb/storage/spider
Jacob Mathew 72f0efac67 MDEV-15697: Remote user used by Spider needs SUPER privilege
The remote users need the SUPER privilege because by default Spider sends a
'SET SQL_LOG_OFF' statement to the data nodes.  This is controlled by the
spider_internal_sql_log_off configuration setting on the Spider node, which
can only be set to 0 or 1, with a default value of 1.

I have fixed the problem by changing this configuration setting so that if it
is NOT SET, which is the most likely case, the Spider node DOES NOT SEND the
'SET SQL_LOG_OFF' statement to the data nodes.  However if the
spider_internal_sql_log_off setting IS EXPLICITLY SET to either 0 or 1, then
the Spider node DOES SEND the 'SET SQL_LOG_OFF' statement, requiring a remote
user with the SUPER privilege.  The Spider documentation will be updated to
reflect this change.

Author:
  Jacob Mathew.

Reviewer:
  Kentoku Shiba.
2018-05-01 14:14:06 -07:00
..
hs_client
mysql-test/spider
scripts MDEV-15692: install_spider.sql can fail with some collations 2018-04-05 14:39:42 -07:00
CMakeLists.txt Merge branch 'bb-10.2-ext' into 10.3 2018-02-23 08:43:34 +01:00
configure.in
ha_spider.cc MDEV-7914: spider/bg.ha, spider/bg.ha_part crash server sporadically in buildbot 2018-04-04 11:34:20 -07:00
ha_spider.h
Makefile.am
spd_conn.cc
spd_conn.h
spd_copy_tables.cc
spd_copy_tables.h
spd_db_conn.cc
spd_db_conn.h
spd_db_handlersocket.cc
spd_db_handlersocket.h
spd_db_include.h
spd_db_mysql.cc Merge bb-10.2-ext into 10.3 2018-02-15 10:22:03 +02:00
spd_db_mysql.h
spd_db_oracle.cc Merge branch '10.2' into 10.3 2018-03-28 17:31:57 +02:00
spd_db_oracle.h
spd_direct_sql.cc MDEV-10991: Server crashes in spider_udf_direct_sql_create_conn - tests in spider/oracle* suites crash the server 2018-04-02 19:12:12 -07:00
spd_direct_sql.h
spd_environ.h
spd_err.h
spd_group_by_handler.cc
spd_group_by_handler.h
spd_i_s.cc
spd_include.h Move alter partition flags to alter_info->partition_flags 2018-03-29 13:59:41 +03:00
spd_malloc.cc
spd_malloc.h MDEV-7914: spider/bg.ha, spider/bg.ha_part crash server sporadically in buildbot 2018-04-03 18:41:39 -07:00
spd_param.cc MDEV-15697: Remote user used by Spider needs SUPER privilege 2018-05-01 14:14:06 -07:00
spd_param.h MDEV-15697: Remote user used by Spider needs SUPER privilege 2018-05-01 14:14:06 -07:00
spd_ping_table.cc
spd_ping_table.h
spd_sys_table.cc Merge branch '10.2' into 10.3 2018-03-28 17:31:57 +02:00
spd_sys_table.h
spd_table.cc MDEV-7914: spider/bg.ha, spider/bg.ha_part crash server sporadically in buildbot 2018-04-03 18:41:39 -07:00
spd_table.h
spd_trx.cc MDEV-15697: Remote user used by Spider needs SUPER privilege 2018-05-01 14:14:06 -07:00
spd_trx.h
spd_udf.cc
spd_udf.def
spd_udf.h