~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/sql_yacc.yy

  • Committer: Patrick Galbraith
  • Date: 2008-07-16 18:48:24 UTC
  • mto: (77.3.28 glibclient)
  • mto: This revision was merged to the branch mainline in revision 176.
  • Revision ID: patg@ishvara-20080716184824-nyd9po8rwk00l2qu
Dar, I forgot to commit this earlier.

* Removed my_sprintf from the files below
* Fixed some small issues that cause compile to fail (pedantic picky-ousity)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1221
1221
                Lex->mi.heartbeat_period < 0.0)
1222
1222
            {
1223
1223
              char buf[sizeof(SLAVE_MAX_HEARTBEAT_PERIOD*4)];
1224
 
              my_sprintf(buf, (buf, "%d seconds", SLAVE_MAX_HEARTBEAT_PERIOD));
 
1224
              sprintf(buf, "%d seconds", SLAVE_MAX_HEARTBEAT_PERIOD);
1225
1225
              my_error(ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE,
1226
1226
                       MYF(0),
1227
1227
                       " is negative or exceeds the maximum ",