~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libmysql/client.c

  • Committer: Brian Aker
  • Date: 2008-07-02 20:17:52 UTC
  • Revision ID: brian@tangent.org-20080702201752-5vb7lk1ut6y1bhsk
First pass on removing binary protocol from client library.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1599
1599
  cli_read_rows,                               /* read_rows */
1600
1600
  cli_use_result,                              /* use_result */
1601
1601
  cli_fetch_lengths,                           /* fetch_lengths */
1602
 
  cli_flush_use_result                         /* flush_use_result */
1603
 
#ifndef MYSQL_SERVER
1604
 
  ,cli_list_fields,                            /* list_fields */
1605
 
  cli_read_prepare_result,                     /* read_prepare_result */
1606
 
  cli_stmt_execute,                            /* stmt_execute */
1607
 
  cli_read_binary_rows,                        /* read_binary_rows */
1608
 
  cli_unbuffered_fetch,                        /* unbuffered_fetch */
1609
 
  NULL,                                        /* free_embedded_thd */
1610
 
  cli_read_statistics,                         /* read_statistics */
 
1602
  cli_flush_use_result,                         /* flush_use_result */
 
1603
  NULL,                            /* list_fields */
 
1604
  NULL,                        /* unbuffered_fetch */
 
1605
  NULL,                         /* read_statistics */
1611
1606
  cli_read_query_result,                       /* next_result */
1612
 
  cli_read_change_user_result,                 /* read_change_user_result */
1613
 
  cli_read_binary_rows                         /* read_rows_from_cursor */
1614
 
#endif
 
1607
  NULL,                 /* read_change_user_result */
1615
1608
};
1616
1609
 
1617
1610
C_MODE_START
2489
2482
    mysql_close_free_options(mysql);
2490
2483
    mysql_close_free(mysql);
2491
2484
    mysql_detach_stmt_list(&mysql->stmts, "mysql_close");
2492
 
#ifndef MYSQL_SERVER
2493
 
    if (mysql->thd)
2494
 
      (*mysql->methods->free_embedded_thd)(mysql);
2495
 
#endif
2496
2485
    if (mysql->free_me)
2497
2486
      my_free((uchar*) mysql,MYF(0));
2498
2487
  }