~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Monty Taylor
  • Date: 2008-07-05 17:07:46 UTC
  • mto: This revision was merged to the branch mainline in revision 63.
  • Revision ID: monty@inaugust.com-20080705170746-8aq11u9fuwtfwy85
Removed my_alarm. Made my_lock only do the non-alarm version. Moved my_lock to MyISAM where it belongs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Check if the variable MY_PERROR is set
 
3
#
 
4
--require r/have_perror.require
 
5
disable_query_log;
 
6
eval select LENGTH("$MY_PERROR") > 0 as "have_perror";
 
7
enable_query_log;
 
8
 
 
9
--exec $MY_PERROR 150 > /dev/null
 
10
--exec $MY_PERROR --silent 120 > /dev/null
 
11
 
 
12
#
 
13
# Bug#16561 Unknown ERROR msg "ERROR 1186 (HY000): Binlog closed" by perror
 
14
#
 
15
 
 
16
# Test with error code 10000 as it's a common "unknown error"
 
17
# As there is no error code defined for 10000, expect error
 
18
--error 1
 
19
--exec $MY_PERROR 10000 2>&1