~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/libdrizzle.c

  • Committer: Monty Taylor
  • Date: 2008-10-23 23:53:49 UTC
  • mto: This revision was merged to the branch mainline in revision 557.
  • Revision ID: monty@inaugust.com-20081023235349-317wgwqwgccuacmq
SplitĀ outĀ nested_join.h.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#include "libdrizzle.h"
 
20
#include <config.h>
21
21
#include "libdrizzle_priv.h"
22
 
#include "errmsg.h"
 
22
 
 
23
#include <libdrizzle/libdrizzle.h>
 
24
#include <libdrizzle/pack.h>
 
25
#include <libdrizzle/errmsg.h>
23
26
#include <sys/stat.h>
24
27
#include <signal.h>
25
28
#include <time.h>
51
54
#include <stdlib.h>
52
55
#include <string.h>
53
56
 
54
 
#include <sql_common.h>
55
 
#include <drizzled/version.h>
56
 
 
57
57
/* Borrowed from libicu header */
58
58
 
59
59
#define U8_IS_SINGLE(c) (((c)&0x80)==0)
78
78
unsigned int drizzle_port=0;
79
79
 
80
80
#include <errno.h>
81
 
#define SOCKET_ERROR -1
82
 
 
83
 
/*
84
 
  If allowed through some configuration, then this needs to
85
 
  be changed
86
 
*/
87
 
#define MAX_LONG_DATA_LENGTH 8192
88
 
#define unsigned_field(A) ((A)->flags & UNSIGNED_FLAG)
89
81
 
90
82
 
91
83
static DRIZZLE_PARAMETERS drizzle_internal_parameters=
449
441
const char *
450
442
drizzle_get_client_info(void)
451
443
{
452
 
  return (char*) DRIZZLE_SERVER_VERSION;
 
444
  return (char*) VERSION;
453
445
}
454
446
 
455
447
uint32_t drizzle_get_client_version(void)