~ubuntu-branches/ubuntu/lucid/mysql-dfsg-5.1/lucid-security

« back to all changes in this revision

Viewing changes to include/mysql.h.pp

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 22:33:55 UTC
  • mto: (1.2.1) (37.1.1 lucid-security)
  • mto: This revision was merged to the branch mainline in revision 36.
  • Revision ID: package-import@ubuntu.com-20120222223355-ku1tb4r70osci6v2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#include <sys/types.h>
2
1
typedef char my_bool;
3
2
typedef int my_socket;
4
3
#include "mysql_version.h"
294
293
};
295
294
enum mysql_status
296
295
{
297
 
  MYSQL_STATUS_READY,MYSQL_STATUS_GET_RESULT,MYSQL_STATUS_USE_RESULT
 
296
  MYSQL_STATUS_READY, MYSQL_STATUS_GET_RESULT, MYSQL_STATUS_USE_RESULT,
 
297
  MYSQL_STATUS_STATEMENT_GET_RESULT
298
298
};
299
299
enum mysql_protocol_type
300
300
{
518
518
            char *to,const char *from,
519
519
            unsigned long length);
520
520
void mysql_debug(const char *debug);
521
 
char * mysql_odbc_escape_string(MYSQL *mysql,
522
 
       char *to,
523
 
       unsigned long to_length,
524
 
       const char *from,
525
 
       unsigned long from_length,
526
 
       void *param,
527
 
       char *
528
 
       (*extend_buffer)
529
 
       (void *, char *to,
530
 
        unsigned long *length));
531
521
void myodbc_remove_escape(MYSQL *mysql,char *name);
532
522
unsigned int mysql_thread_safe(void);
533
523
my_bool mysql_embedded(void);