diff options
author | monty@mysql.com <> | 2005-06-28 15:06:16 +0300 |
---|---|---|
committer | monty@mysql.com <> | 2005-06-28 15:06:16 +0300 |
commit | 10c4678deff9e5daaf2f9c05244a05a9e61ec977 (patch) | |
tree | bf56a30c6bb6b1807ab7d923cca1960af81c0459 /mysys/thr_alarm.c | |
parent | 46536c3a60a00131ceaec7760813bbdae2d301c4 (diff) | |
download | mariadb-git-10c4678deff9e5daaf2f9c05244a05a9e61ec977.tar.gz |
Move reset of insert_values to ensure it's done also during error conditions
This fixed a failure of insert_update.test on some platforms
Diffstat (limited to 'mysys/thr_alarm.c')
-rw-r--r-- | mysys/thr_alarm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mysys/thr_alarm.c b/mysys/thr_alarm.c index 19611a6027a..05d14073953 100644 --- a/mysys/thr_alarm.c +++ b/mysys/thr_alarm.c @@ -86,6 +86,7 @@ void init_thr_alarm(uint max_alarms) { struct sigaction sact; sact.sa_flags = 0; + bzero((char*) &sact, sizeof(sact)); sact.sa_handler = thread_alarm; sigaction(THR_CLIENT_ALARM, &sact, (struct sigaction*) 0); } |