summaryrefslogtreecommitdiff
path: root/sql-bench/as3ap.sh
diff options
context:
space:
mode:
authorAlexander Nozdrin <alexander.nozdrin@oracle.com>2011-05-06 15:39:40 +0400
committerAlexander Nozdrin <alexander.nozdrin@oracle.com>2011-05-06 15:39:40 +0400
commit2593b14ccb4d70d3f3b58f5d3fab886c1c4af7a0 (patch)
tree4e4175d366ea610aca69d84f86aaf89c3b05f03c /sql-bench/as3ap.sh
parentb1ff2e68134479dcf5ca609d6915ffc56a8a51b3 (diff)
downloadmariadb-git-2593b14ccb4d70d3f3b58f5d3fab886c1c4af7a0.tar.gz
Preliminary patch for Bug#11848763 / 60025
(SUBSTRING inside a stored function works too slow). Background: - THD classes derives from Query_arena, thus inherits the 'state' attribute and related operations (is_stmt_prepare() & co). - Although these operations are available in THD, they must not be used. THD has its own attribute to point to the active Query_arena -- stmt_arena. - So, instead of using thd->is_stmt_prepare(), thd->stmt_arena->is_stmt_prepare() must be used. This was the root cause of Bug 60025. This patch enforces the proper way of calling those operations. is_stmt_prepare() & co are declared as private operations in THD (thus, they are hidden from being called on THD instance). The patch tries to minimize changes in 5.5.
Diffstat (limited to 'sql-bench/as3ap.sh')
0 files changed, 0 insertions, 0 deletions