summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-06-14 07:16:53 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2019-06-14 07:26:51 +0300
commitd9fe615ef6862c85c5aada96d4f5b62b7093177c (patch)
tree6153520108da7b7a1484628ad70554e6b009da83 /mysql-test
parentcf78b8c699d8394a52c55b38e67a865d6a44c500 (diff)
downloadmariadb-git-d9fe615ef6862c85c5aada96d4f5b62b7093177c.tar.gz
spider_db_init(): Do not return uninitialized error_num
If the allocation of spider_table_sts_threads failed, we would DBUG_RETURN(error_num) without having initialized it earlier. Pre-initialize error_num to HA_ERR_OUT_OF_MEM and remove a lot of assignments that thus became redundant. This error was introduced in 207594afac99e5e7de1e639d907ce57c53c02294 (Spider 3.3.13).
Diffstat (limited to 'mysql-test')
0 files changed, 0 insertions, 0 deletions