1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
21 #include <com/sun/star/sdbc/DataType.hpp>
22 #include <com/sun/star/sdbc/ColumnValue.hpp>
23 #include <com/sun/star/sdbc/ColumnSearch.hpp>
24 #include "mysqlc_types.hxx"
26 using namespace com::sun::star::sdbc
;
28 TypeInfoDef mysqlc_types
[] = {
30 // ------------- MySQL-Type: BIT. SDBC-Type: Bit -------------
33 com::sun::star::sdbc::DataType::BIT
, // sdbc-type
38 com::sun::star::sdbc::ColumnValue::NULLABLE
, // nullable
39 sal_True
, // case sensitive
40 com::sun::star::sdbc::ColumnSearch::FULL
, // searchable
41 sal_False
, // unsignable
42 sal_False
, // fixed_prec_scale
43 sal_False
, // auto_increment
44 "BIT", // local type name
47 0, // sql data type (unsued)
48 0, // sql datetime sub (unsued)
52 // ------------ MySQL-Type: BOOL. SDBC-Type: Bit -------------
55 com::sun::star::sdbc::DataType::BIT
, // sdbc-type
60 com::sun::star::sdbc::ColumnValue::NULLABLE
, // nullable
61 sal_True
, // case sensitive
62 com::sun::star::sdbc::ColumnSearch::FULL
, // searchable
63 sal_False
, // unsignable
64 sal_False
, // fixed_prec_scale
65 sal_False
, // auto_increment
66 "BOOL", // local type name
69 0, // sql data type (unsued)
70 0, // sql datetime sub (unsued)
74 // --------- MySQL-Type: TINYINT SDBC-Type: TINYINT ----------
76 "TINYINT", // Typename
77 com::sun::star::sdbc::DataType::TINYINT
, // sdbc-type
81 "[(M)] [UNSIGNED] [ZEROFILL]", // Create params
82 com::sun::star::sdbc::ColumnValue::NULLABLE
, // nullable
83 sal_False
, // case sensitive
84 com::sun::star::sdbc::ColumnSearch::FULL
, // searchable
85 sal_True
, // unsignable
86 sal_False
, // fixed_prec_scale
87 sal_True
, // auto_increment
88 "TINYINT", // local type name
91 0, // sql data type (unsued)
92 0, // sql datetime sub (unsued)
96 // ----------- MySQL-Type: BIGINT SDBC-Type: BIGINT ----------
99 com::sun::star::sdbc::DataType::BIGINT
, // sdbc-type
101 "", // Literal prefix
102 "", // Literal suffix
103 "[(M)] [UNSIGNED] [ZEROFILL]", // Create params
104 com::sun::star::sdbc::ColumnValue::NULLABLE
, // nullable
105 sal_False
, // case sensitive
106 com::sun::star::sdbc::ColumnSearch::FULL
, // searchable
107 sal_True
, // unsignable
108 sal_False
, // fixed_prec_scale
109 sal_True
, // auto_increment
110 "BIGINT", // local type name
113 0, // sql data type (unsued)
114 0, // sql datetime sub (unsued)
118 // ----------- MySQL-Type: LONG VARBINARY SDBC-Type: LONGVARBINARY ----------
120 "LONG VARBINARY", // Typename
121 com::sun::star::sdbc::DataType::LONGVARBINARY
, // sdbc-type
122 16777215, // Precision
123 "'", // Literal prefix
124 "'", // Literal suffix
126 com::sun::star::sdbc::ColumnValue::NULLABLE
, // nullable
127 sal_True
, // case sensitive
128 com::sun::star::sdbc::ColumnSearch::FULL
, // searchable
129 sal_False
, // unsignable
130 sal_False
, // fixed_prec_scale
131 sal_False
, // auto_increment
132 "LONG VARBINARY", // local type name
135 0, // sql data type (unsued)
136 0, // sql datetime sub (unsued)
140 // ----------- MySQL-Type: MEDIUMBLOB SDBC-Type: LONGVARBINARY ----------
142 "MEDIUMBLOB", // Typename
143 com::sun::star::sdbc::DataType::LONGVARBINARY
, // sdbc-type
144 16777215, // Precision
145 "'", // Literal prefix
146 "'", // Literal suffix
148 com::sun::star::sdbc::ColumnValue::NULLABLE
, // nullable
149 sal_True
, // case sensitive
150 com::sun::star::sdbc::ColumnSearch::FULL
, // searchable
151 sal_False
, // unsignable
152 sal_False
, // fixed_prec_scale
153 sal_False
, // auto_increment
154 "MEDIUMBLOB", // local type name
157 0, // sql data type (unsued)
158 0, // sql datetime sub (unsued)
162 // ----------- MySQL-Type: LONGBLOB SDBC-Type: LONGVARBINARY ----------
164 "LONGBLOB", // Typename
165 com::sun::star::sdbc::DataType::LONGVARBINARY
, // sdbc-type
167 "'", // Literal prefix
168 "'", // Literal suffix
170 com::sun::star::sdbc::ColumnValue::NULLABLE
, // nullable
171 sal_True
, // case sensitive
172 com::sun::star::sdbc::ColumnSearch::FULL
, // searchable
173 sal_False
, // unsignable
174 sal_False
, // fixed_prec_scale
175 sal_False
, // auto_increment
176 "LONGBLOB", // local type name
179 0, // sql data type (unsued)
180 0, // sql datetime sub (unsued)
184 // ----------- MySQL-Type: BLOB SDBC-Type: LONGVARBINARY ----------
187 com::sun::star::sdbc::DataType::LONGVARBINARY
, // sdbc-type
189 "'", // Literal prefix
190 "'", // Literal suffix
192 com::sun::star::sdbc::ColumnValue::NULLABLE
, // nullable
193 sal_True
, // case sensitive
194 com::sun::star::sdbc::ColumnSearch::FULL
, // searchable
195 sal_False
, // unsignable
196 sal_False
, // fixed_prec_scale
197 sal_False
, // auto_increment
198 "BLOB", // local type name
201 0, // sql data type (unsued)
202 0, // sql datetime sub (unsued)
206 // ----------- MySQL-Type: TINYBLOB SDBC-Type: LONGVARBINARY ----------
208 "TINYBLOB", // Typename
209 com::sun::star::sdbc::DataType::LONGVARBINARY
, // sdbc-type
211 "'", // Literal prefix
212 "'", // Literal suffix
214 com::sun::star::sdbc::ColumnValue::NULLABLE
, // nullable
215 sal_True
, // case sensitive
216 com::sun::star::sdbc::ColumnSearch::FULL
, // searchable
217 sal_False
, // unsignable
218 sal_False
, // fixed_prec_scale
219 sal_False
, // auto_increment
220 "TINYBLOB", // local type name
223 0, // sql data type (unsued)
224 0, // sql datetime sub (unsued)
228 // ----------- MySQL-Type: VARBINARY SDBC-Type: VARBINARY ----------
230 "VARBINARY", // Typename
231 com::sun::star::sdbc::DataType::VARBINARY
, // sdbc-type
233 "'", // Literal prefix
234 "'", // Literal suffix
235 "(M)", // Create params
236 com::sun::star::sdbc::ColumnValue::NULLABLE
, // nullable
237 sal_True
, // case sensitive
238 com::sun::star::sdbc::ColumnSearch::FULL
, // searchable
239 sal_False
, // unsignable
240 sal_False
, // fixed_prec_scale
241 sal_False
, // auto_increment
242 "VARBINARY", // local type name
245 0, // sql data type (unsued)
246 0, // sql datetime sub (unsued)
250 // ----------- MySQL-Type: BINARY SDBC-Type: BINARY ----------
252 "BINARY", // Typename
253 com::sun::star::sdbc::DataType::BINARY
, // sdbc-type
255 "'", // Literal prefix
256 "'", // Literal suffix
257 "(M)", // Create params
258 com::sun::star::sdbc::ColumnValue::NULLABLE
, // nullable
259 sal_True
, // case sensitive
260 com::sun::star::sdbc::ColumnSearch::FULL
, // searchable
261 sal_False
, // unsignable
262 sal_False
, // fixed_prec_scale
263 sal_False
, // auto_increment
264 "VARBINARY", // local type name
267 0, // sql data type (unsued)
268 0, // sql datetime sub (unsued)
272 // ----------- MySQL-Type: LONG VARCHAR SDBC-Type: LONG VARCHAR ----------
274 "LONG VARCHAR", // Typename
275 com::sun::star::sdbc::DataType::LONGVARCHAR
, // sdbc-type
276 0xFFFFFF, // Precision
277 "'", // Literal prefix
278 "'", // Literal suffix
280 com::sun::star::sdbc::ColumnValue::NULLABLE
, // nullable
281 sal_False
, // case sensitive
282 com::sun::star::sdbc::ColumnSearch::FULL
, // searchable
283 sal_False
, // unsignable
284 sal_False
, // fixed_prec_scale
285 sal_False
, // auto_increment
286 "LONG VARCHAR", // local type name
289 0, // sql data type (unsued)
290 0, // sql datetime sub (unsued)
294 // ----------- MySQL-Type: MEDIUMTEXT SDBC-Type: LONG VARCHAR ----------
296 "MEDIUMTEXT", // Typename
297 com::sun::star::sdbc::DataType::LONGVARCHAR
, // sdbc-type
298 0xFFFFFF, // Precision
299 "'", // Literal prefix
300 "'", // Literal suffix
302 com::sun::star::sdbc::ColumnValue::NULLABLE
, // nullable
303 sal_False
, // case sensitive
304 com::sun::star::sdbc::ColumnSearch::FULL
, // searchable
305 sal_False
, // unsignable
306 sal_False
, // fixed_prec_scale
307 sal_False
, // auto_increment
308 "MEDIUMTEXT", // local type name
311 0, // sql data type (unsued)
312 0, // sql datetime sub (unsued)
316 // ----------- MySQL-Type: LONGTEXT SDBC-Type: LONG VARCHAR ----------
318 "LONGTEXT", // Typename
319 com::sun::star::sdbc::DataType::LONGVARCHAR
, // sdbc-type
320 0xFFFFFF, // Precision
321 "'", // Literal prefix
322 "'", // Literal suffix
324 com::sun::star::sdbc::ColumnValue::NULLABLE
, // nullable
325 sal_False
, // case sensitive
326 com::sun::star::sdbc::ColumnSearch::FULL
, // searchable
327 sal_False
, // unsignable
328 sal_False
, // fixed_prec_scale
329 sal_False
, // auto_increment
330 "LONGTEXT", // local type name
333 0, // sql data type (unsued)
334 0, // sql datetime sub (unsued)
338 // ----------- MySQL-Type: TEXT SDBC-Type: LONG VARCHAR ----------
341 com::sun::star::sdbc::DataType::LONGVARCHAR
, // sdbc-type
343 "'", // Literal prefix
344 "'", // Literal suffix
346 com::sun::star::sdbc::ColumnValue::NULLABLE
, // nullable
347 sal_False
, // case sensitive
348 com::sun::star::sdbc::ColumnSearch::FULL
, // searchable
349 sal_False
, // unsignable
350 sal_False
, // fixed_prec_scale
351 sal_False
, // auto_increment
352 "TEXT", // local type name
355 0, // sql data type (unsued)
356 0, // sql datetime sub (unsued)
360 // ----------- MySQL-Type: TINYTEXT SDBC-Type: LONG VARCHAR ----------
362 "TINYTEXT", // Typename
363 com::sun::star::sdbc::DataType::LONGVARCHAR
, // sdbc-type
365 "'", // Literal prefix
366 "'", // Literal suffix
368 com::sun::star::sdbc::ColumnValue::NULLABLE
, // nullable
369 sal_False
, // case sensitive
370 com::sun::star::sdbc::ColumnSearch::FULL
, // searchable
371 sal_False
, // unsignable
372 sal_False
, // fixed_prec_scale
373 sal_False
, // auto_increment
374 "TINYTEXT", // local type name
377 0, // sql data type (unsued)
378 0, // sql datetime sub (unsued)
382 // ----------- MySQL-Type: CHAR SDBC-Type: CHAR ----------
385 com::sun::star::sdbc::DataType::CHAR
, // sdbc-type
387 "'", // Literal prefix
388 "'", // Literal suffix
389 "(M)", // Create params
390 com::sun::star::sdbc::ColumnValue::NULLABLE
, // nullable
391 sal_False
, // case sensitive
392 com::sun::star::sdbc::ColumnSearch::FULL
, // searchable
393 sal_False
, // unsignable
394 sal_False
, // fixed_prec_scale
395 sal_False
, // auto_increment
396 "NUMERIC", // local type name
399 0, // sql data type (unsued)
400 0, // sql datetime sub (unsued)
404 // ----------- MySQL-Type: DECIMAL SDBC-Type: DECIMAL ----------
406 "DECIMAL", // Typename
407 com::sun::star::sdbc::DataType::DECIMAL
, // sdbc-type
409 "", // Literal prefix
410 "", // Literal suffix
411 "[(M[,D])] [ZEROFILL]", // Create params
412 com::sun::star::sdbc::ColumnValue::NULLABLE
, // nullable
413 sal_False
, // case sensitive
414 com::sun::star::sdbc::ColumnSearch::FULL
, // searchable
415 sal_False
, // unsignable
416 sal_False
, // fixed_prec_scale
417 sal_True
, // auto_increment
418 "DECIMAL", // local type name
419 -308, // minimum scale
420 308, // maximum scale
421 0, // sql data type (unsued)
422 0, // sql datetime sub (unsued)
426 // ----------- MySQL-Type: NUMERIC SDBC-Type: NUMERIC ----------
428 "NUMERIC", // Typename
429 com::sun::star::sdbc::DataType::NUMERIC
, // sdbc-type
431 "", // Literal prefix
432 "", // Literal suffix
433 "[(M[,D])] [ZEROFILL]", // Create params
434 com::sun::star::sdbc::ColumnValue::NULLABLE
, // nullable
435 sal_False
, // case sensitive
436 com::sun::star::sdbc::ColumnSearch::FULL
, // searchable
437 sal_False
, // unsignable
438 sal_False
, // fixed_prec_scale
439 sal_True
, // auto_increment
440 "NUMERIC", // local type name
441 -308, // minimum scale
442 308, // maximum scale
443 0, // sql data type (unsued)
444 0, // sql datetime sub (unsued)
448 // ----------- MySQL-Type: INTEGER SDBC-Type: INTEGER ----------
450 "INTEGER", // Typename
451 com::sun::star::sdbc::DataType::INTEGER
, // sdbc-type
453 "", // Literal prefix
454 "", // Literal suffix
455 "[(M)] [UNSIGNED] [ZEROFILL]", // Create params
456 com::sun::star::sdbc::ColumnValue::NULLABLE
, // nullable
457 sal_False
, // case sensitive
458 com::sun::star::sdbc::ColumnSearch::FULL
, // searchable
459 sal_True
, // unsignable
460 sal_False
, // fixed_prec_scale
461 sal_True
, // auto_increment
462 "INTEGER", // local type name
465 0, // sql data type (unsued)
466 0, // sql datetime sub (unsued)
470 // ----------- MySQL-Type: INT SDBC-Type: INTEGER ----------
473 com::sun::star::sdbc::DataType::INTEGER
, // sdbc-type
475 "", // Literal prefix
476 "", // Literal suffix
477 "[(M)] [UNSIGNED] [ZEROFILL]", // Create params
478 com::sun::star::sdbc::ColumnValue::NULLABLE
, // nullable
479 sal_False
, // case sensitive
480 com::sun::star::sdbc::ColumnSearch::FULL
, // searchable
481 sal_True
, // unsignable
482 sal_False
, // fixed_prec_scale
483 sal_True
, // auto_increment
484 "INT", // local type name
487 0, // sql data type (unsued)
488 0, // sql datetime sub (unsued)
492 // ----------- MySQL-Type: MEDIUMINT SDBC-Type: INTEGER ----------
494 "MEDIUMINT", // Typename
495 com::sun::star::sdbc::DataType::INTEGER
, // sdbc-type
497 "", // Literal prefix
498 "", // Literal suffix
499 "[(M)] [UNSIGNED] [ZEROFILL]", // Create params
500 com::sun::star::sdbc::ColumnValue::NULLABLE
, // nullable
501 sal_False
, // case sensitive
502 com::sun::star::sdbc::ColumnSearch::FULL
, // searchable
503 sal_True
, // unsignable
504 sal_False
, // fixed_prec_scale
505 sal_True
, // auto_increment
506 "MEDIUMINT", // local type name
509 0, // sql data type (unsued)
510 0, // sql datetime sub (unsued)
514 // ----------- MySQL-Type: SMALLINT SDBC-Type: INTEGER ----------
516 "SMALLINT", // Typename
517 com::sun::star::sdbc::DataType::SMALLINT
, // sdbc-type
519 "", // Literal prefix
520 "", // Literal suffix
521 "[(M)] [UNSIGNED] [ZEROFILL]", // Create params
522 com::sun::star::sdbc::ColumnValue::NULLABLE
, // nullable
523 sal_False
, // case sensitive
524 com::sun::star::sdbc::ColumnSearch::FULL
, // searchable
525 sal_True
, // unsignable
526 sal_False
, // fixed_prec_scale
527 sal_True
, // auto_increment
528 "SMALLINT", // local type name
531 0, // sql data type (unsued)
532 0, // sql datetime sub (unsued)
536 // ----------- MySQL-Type: FLOAT SDBC-Type: REAL ----------
539 com::sun::star::sdbc::DataType::REAL
, // sdbc-type
541 "", // Literal prefix
542 "", // Literal suffix
543 "[(M,D)] [ZEROFILL]", // Create params
544 com::sun::star::sdbc::ColumnValue::NULLABLE
, // nullable
545 sal_False
, // case sensitive
546 com::sun::star::sdbc::ColumnSearch::FULL
, // searchable
547 sal_False
, // unsignable
548 sal_False
, // fixed_prec_scale
549 sal_True
, // auto_increment
550 "FLOAT", // local type name
551 -38, // minimum scale
553 0, // sql data type (unsued)
554 0, // sql datetime sub (unsued)
558 // ----------- MySQL-Type: DOUBLE SDBC-Type: DOUBLE ----------
560 "DOUBLE", // Typename
561 com::sun::star::sdbc::DataType::DOUBLE
, // sdbc-type
563 "", // Literal prefix
564 "", // Literal suffix
565 "[(M,D)] [ZEROFILL]", // Create params
566 com::sun::star::sdbc::ColumnValue::NULLABLE
, // nullable
567 sal_False
, // case sensitive
568 com::sun::star::sdbc::ColumnSearch::FULL
, // searchable
569 sal_False
, // unsignable
570 sal_False
, // fixed_prec_scale
571 sal_True
, // auto_increment
572 "DOUBLE", // local type name
573 -308, // minimum scale
574 308, // maximum scale
575 0, // sql data type (unsued)
576 0, // sql datetime sub (unsued)
580 // ----------- MySQL-Type: DOUBLE PRECISION SDBC-Type: DOUBLE ----------
582 "DOUBLE PRECISION", // Typename
583 com::sun::star::sdbc::DataType::DOUBLE
, // sdbc-type
585 "", // Literal prefix
586 "", // Literal suffix
587 "[(M,D)] [ZEROFILL]", // Create params
588 com::sun::star::sdbc::ColumnValue::NULLABLE
, // nullable
589 sal_False
, // case sensitive
590 com::sun::star::sdbc::ColumnSearch::FULL
, // searchable
591 sal_False
, // unsignable
592 sal_False
, // fixed_prec_scale
593 sal_True
, // auto_increment
594 "DOUBLE PRECISION", // local type name
595 -308, // minimum scale
596 308, // maximum scale
597 0, // sql data type (unsued)
598 0, // sql datetime sub (unsued)
602 // ----------- MySQL-Type: REAL SDBC-Type: DOUBLE ----------
605 com::sun::star::sdbc::DataType::DOUBLE
, // sdbc-type
607 "", // Literal prefix
608 "", // Literal suffix
609 "[(M,D)] [ZEROFILL]", // Create params
610 com::sun::star::sdbc::ColumnValue::NULLABLE
, // nullable
611 sal_False
, // case sensitive
612 com::sun::star::sdbc::ColumnSearch::FULL
, // searchable
613 sal_False
, // unsignable
614 sal_False
, // fixed_prec_scale
615 sal_True
, // auto_increment
616 "REAL", // local type name
617 -308, // minimum scale
618 308, // maximum scale
619 0, // sql data type (unsued)
620 0, // sql datetime sub (unsued)
624 // ----------- MySQL-Type: VARCHAR SDBC-Type: VARCHAR ----------
626 "VARCHAR", // Typename
627 com::sun::star::sdbc::DataType::VARCHAR
, // sdbc-type
629 "'", // Literal prefix
630 "'", // Literal suffix
631 "(M)", // Create params
632 com::sun::star::sdbc::ColumnValue::NULLABLE
, // nullable
633 sal_False
, // case sensitive
634 com::sun::star::sdbc::ColumnSearch::FULL
, // searchable
635 sal_False
, // unsignable
636 sal_False
, // fixed_prec_scale
637 sal_False
, // auto_increment
638 "VARCHAR", // local type name
641 0, // sql data type (unsued)
642 0, // sql datetime sub (unsued)
646 // ----------- MySQL-Type: ENUM SDBC-Type: VARCHAR ----------
649 com::sun::star::sdbc::DataType::VARCHAR
, // sdbc-type
651 "'", // Literal prefix
652 "'", // Literal suffix
654 com::sun::star::sdbc::ColumnValue::NULLABLE
, // nullable
655 sal_False
, // case sensitive
656 com::sun::star::sdbc::ColumnSearch::FULL
, // searchable
657 sal_False
, // unsignable
658 sal_False
, // fixed_prec_scale
659 sal_False
, // auto_increment
660 "ENUM", // local type name
663 0, // sql data type (unsued)
664 0, // sql datetime sub (unsued)
668 // ----------- MySQL-Type: SET SDBC-Type: VARCHAR ----------
671 com::sun::star::sdbc::DataType::VARCHAR
, // sdbc-type
673 "'", // Literal prefix
674 "'", // Literal suffix
676 com::sun::star::sdbc::ColumnValue::NULLABLE
, // nullable
677 sal_False
, // case sensitive
678 com::sun::star::sdbc::ColumnSearch::FULL
, // searchable
679 sal_False
, // unsignable
680 sal_False
, // fixed_prec_scale
681 sal_False
, // auto_increment
682 "SET", // local type name
685 0, // sql data type (unsued)
686 0, // sql datetime sub (unsued)
690 // ----------- MySQL-Type: DATE SDBC-Type: DATE ----------
693 com::sun::star::sdbc::DataType::DATE
, // sdbc-type
695 "'", // Literal prefix
696 "'", // Literal suffix
698 com::sun::star::sdbc::ColumnValue::NULLABLE
, // nullable
699 sal_False
, // case sensitive
700 com::sun::star::sdbc::ColumnSearch::FULL
, // searchable
701 sal_False
, // unsignable
702 sal_False
, // fixed_prec_scale
703 sal_False
, // auto_increment
704 "DATE", // local type name
707 0, // sql data type (unsued)
708 0, // sql datetime sub (unsued)
712 // ----------- MySQL-Type: TIME SDBC-Type: TIME ----------
715 com::sun::star::sdbc::DataType::TIME
, // sdbc-type
717 "'", // Literal prefix
718 "'", // Literal suffix
720 com::sun::star::sdbc::ColumnValue::NULLABLE
, // nullable
721 sal_False
, // case sensitive
722 com::sun::star::sdbc::ColumnSearch::FULL
, // searchable
723 sal_False
, // unsignable
724 sal_False
, // fixed_prec_scale
725 sal_False
, // auto_increment
726 "TIME", // local type name
729 0, // sql data type (unsued)
730 0, // sql datetime sub (unsued)
734 // ----------- MySQL-Type: DATETIME SDBC-Type: TIMESTAMP ----------
736 "DATETIME", // Typename
737 com::sun::star::sdbc::DataType::TIMESTAMP
, // sdbc-type
739 "'", // Literal prefix
740 "'", // Literal suffix
742 com::sun::star::sdbc::ColumnValue::NULLABLE
, // nullable
743 sal_False
, // case sensitive
744 com::sun::star::sdbc::ColumnSearch::FULL
, // searchable
745 sal_False
, // unsignable
746 sal_False
, // fixed_prec_scale
747 sal_False
, // auto_increment
748 "DATETIME", // local type name
751 0, // sql data type (unsued)
752 0, // sql datetime sub (unsued)
756 // ----------- MySQL-Type: TIMESTAMP SDBC-Type: TIMESTAMP ----------
758 "TIMESTAMP", // Typename
759 com::sun::star::sdbc::DataType::TIMESTAMP
, // sdbc-type
761 "'", // Literal prefix
762 "'", // Literal suffix
763 "[(M)]", // Create params
764 com::sun::star::sdbc::ColumnValue::NULLABLE
, // nullable
765 sal_False
, // case sensitive
766 com::sun::star::sdbc::ColumnSearch::FULL
, // searchable
767 sal_False
, // unsignable
768 sal_False
, // fixed_prec_scale
769 sal_False
, // auto_increment
770 "TIMESTAMP", // local type name
773 0, // sql data type (unsued)
774 0, // sql datetime sub (unsued)
778 // ----------- MySQL-Type: TIMESTAMP SDBC-Type: TIMESTAMP ----------
780 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
784 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */