From: Kevin M. Rosenberg Date: Sat, 17 May 2003 07:27:15 +0000 (+0000) Subject: r4999: more win32 changes X-Git-Tag: v3.8.6~838 X-Git-Url: http://git.kpe.io/?a=commitdiff_plain;h=1ad43c80b9a9250aa79ea7b961cd1349bcc1beb4;p=clsql.git r4999: more win32 changes --- diff --git a/db-mysql/mysql-api.lisp b/db-mysql/mysql-api.lisp index 6842f8b..85631ea 100644 --- a/db-mysql/mysql-api.lisp +++ b/db-mysql/mysql-api.lisp @@ -8,7 +8,7 @@ ;;;; Original code by Pierre R. Mai ;;;; Date Started: Feb 2002 ;;;; -;;;; $Id: mysql-api.lisp,v 1.1 2002/09/30 10:19:23 kevin Exp $ +;;;; $Id: mysql-api.lisp,v 1.2 2003/05/17 07:27:15 kevin Exp $ ;;;; ;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; and Copyright (c) 1999-2001 by Pierre R. Mai @@ -108,6 +108,7 @@ (:var-string 253) (:string 254))) +#-(or win32 mswindows) (uffi:def-struct mysql-field (name (* :char)) (table (* :char)) @@ -118,6 +119,20 @@ (flags :unsigned-int) (decimals :unsigned-int)) +;; structure changed in mysql 4.0.12, win32 +#+(or win32 mswindows) +(uffi:def-struct mysql-field + (name (* :char)) + (table (* :char)) + (org_table (* :char)) + (db (* :char)) + (def (* :char)) + (length :unsigned-int) + (max-length :unsigned-int) + (flags :unsigned-int) + (decimals :unsigned-int) + (type mysql-field-types)) + ;;; MYSQL-ROWS (uffi:def-array-pointer mysql-row (* :unsigned-char))