~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/libdrizzle.c

  • Committer: Monty Taylor
  • Date: 2008-10-06 04:45:56 UTC
  • mfrom: (438.1.13 drizzle)
  • Revision ID: monty@inaugust.com-20081006044556-5urk8k3yhnnl3o1p
Merged in from trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
370
370
 
371
371
 
372
372
int
373
 
drizzle_shutdown(DRIZZLE *drizzle, enum drizzle_enum_shutdown_level shutdown_level)
 
373
drizzle_shutdown(DRIZZLE *drizzle)
374
374
{
375
 
  unsigned char level[1];
376
 
  level[0]= (unsigned char) shutdown_level;
377
 
  return(simple_command(drizzle, COM_SHUTDOWN, level, 1, 0));
 
375
  return(simple_command(drizzle, COM_SHUTDOWN, 0, 1, 0));
378
376
}
379
377
 
380
378
 
381
379
int
382
 
drizzle_refresh(DRIZZLE *drizzle,uint32_t options)
 
380
drizzle_refresh(DRIZZLE *drizzle, uint32_t options)
383
381
{
384
382
  unsigned char bits[1];
385
383
  bits[0]= (unsigned char) options;