~ubuntu-branches/ubuntu/feisty/fpc/feisty

« back to all changes in this revision

Viewing changes to packages/base/mysql/mysql4_comtypes.inc

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2007-01-27 20:08:50 UTC
  • mfrom: (1.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070127200850-9mrptaqqjsx9nwa7
Tags: 2.0.4-5
* Fixed Build-Depends.
* Add myself to Uploaders in debian/control.
* Make sure that the sources are really patched before building them.
* Build unit 'libc' on powerpc too.

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
   CLIENT_TRANSACTIONS = 8192;
81
81
   SERVER_STATUS_IN_TRANS = 1;
82
82
   SERVER_STATUS_AUTOCOMMIT = 2;
83
 
   MYSQL_ERRMSG_SIZE = 200;
 
83
   MYSQL_ERRMSG_SIZE = 512;
84
84
   NET_READ_TIMEOUT = 30;
85
85
   NET_WRITE_TIMEOUT = 60;
86
86
   MAX_BLOB_WIDTH = 8192;
 
87
   SQLSTATE_LENGTH = 5;
87
88
{
88
89
#define NET_WAIT_TIMEOUT      (8 60 60)
89
90
 }
101
102
    write_pos : Pbyte;
102
103
    read_pos : Pbyte;
103
104
    fd : my_socket;
104
 
    max_packet : dword;
105
 
    max_packet_size : dword;
106
 
    last_errno : dword;
107
 
    pkt_nr : dword;
108
 
    compress_pkt_nr : dword;
109
 
    write_timeout : dword;
110
 
    read_timeout : dword;
111
 
    retry_count : dword;
112
 
    fcntl : longint;
113
 
    last_error : array[0..(MYSQL_ERRMSG_SIZE)-1] of char;
114
 
    error : byte;
115
 
    return_errno : my_bool;
 
105
    max_packet,
 
106
    max_packet_size : culong;
 
107
    pkt_nr,
 
108
    compress_pkt_nr : culong;
 
109
    write_timeout,
 
110
    read_timeout,
 
111
    retry_count : cuint;
 
112
    fcntl : cint;
116
113
    compress : my_bool;
117
 
    remain_in_buf : dword;
118
 
    length : dword;
119
 
    buf_length : dword;
120
 
    where_b : dword;
121
 
    return_status : Pdword;
122
 
    reading_or_writing : byte;
123
 
    save_char : char;
 
114
    remain_in_bufm,
 
115
    length,
 
116
    buf_length,
 
117
    where_b : culong;
 
118
    return_status : pcuint;
 
119
    reading_or_writing : cuint;
 
120
    save_char : cchar;
124
121
    no_send_ok : my_bool;
 
122
    last_error : array[0..(MYSQL_ERRMSG_SIZE)-1] of char;
 
123
    sqlstate : array[0..SQLSTATE_LENGTH] of char;
 
124
    last_errno : cuint;
 
125
    error : cuchar;
125
126
    query_cache_query : gptr;
 
127
    report_error,
 
128
    return_errno : my_bool;
126
129
  end;
127
130
  NET = st_net;
128
131
  TNET = NET;