~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysql-test/t/udf_skip_grants.test

  • Committer: Stewart Smith
  • Date: 2008-07-09 01:40:54 UTC
  • mfrom: (105 drizzle)
  • mto: This revision was merged to the branch mainline in revision 111.
  • Revision ID: stewart@flamingspork.com-20080709014054-xfgfzirbhqzrzkkj
mergeĀ fromĀ mainline

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
####################### udf_skip_grants.test ###########################
2
 
#                                                                      #
3
 
# Test for bug #32020 "loading udfs while --skip-grant-tables is       #
4
 
#                     enabled causes out of memory errors"             #
5
 
#                                                                      #
6
 
# Creation:                                                            #
7
 
# 2007-12-24 akopytov Moved the test case for bug #32020 from          #
8
 
#                     skip_grants.test to a separate test to ensure    #
9
 
#                     that it is only run when the server is built     #
10
 
#                     with support for dynamically loaded libraries    #
11
 
#                     (see bug #33305).                                #
12
 
#                                                                      #
13
 
########################################################################
14
 
 
15
 
 
16
 
#
17
 
# Bug #32020: loading udfs while --skip-grant-tables is enabled causes out of 
18
 
#             memory errors
19
 
#
20
 
 
21
 
--error ER_CANT_INITIALIZE_UDF
22
 
CREATE FUNCTION a RETURNS STRING SONAME '';
23
 
--error ER_SP_DOES_NOT_EXIST
24
 
DROP FUNCTION a;
25
 
 
26
 
--echo End of 5.0 tests