InfoTab.cpp
上传用户:romrleung
上传日期:2022-05-23
资源大小:18897k
文件大小:12k
源码类别:

MySQL数据库

开发平台:

Visual C++

  1. /* Copyright (C) 2003 MySQL AB
  2.    This program is free software; you can redistribute it and/or modify
  3.    it under the terms of the GNU General Public License as published by
  4.    the Free Software Foundation; either version 2 of the License, or
  5.    (at your option) any later version.
  6.    This program is distributed in the hope that it will be useful,
  7.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  8.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  9.    GNU General Public License for more details.
  10.    You should have received a copy of the GNU General Public License
  11.    along with this program; if not, write to the Free Software
  12.    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
  13. #include "HandleDbc.hpp"
  14. HandleDbc::InfoTab
  15. HandleDbc::m_infoTab[] = {
  16.     { SQL_ACCESSIBLE_PROCEDURES,
  17. InfoTab::YesNo,
  18. 0L,
  19. "N"
  20.     },
  21.     { SQL_ACCESSIBLE_TABLES,
  22. InfoTab::YesNo,
  23. 0L,
  24. "Y"
  25.     },
  26.     { SQL_ACTIVE_ENVIRONMENTS,
  27. InfoTab::Short,
  28. 0L,
  29. 0
  30.     },
  31.     { SQL_AGGREGATE_FUNCTIONS,
  32. InfoTab::Bitmask,
  33. SQL_AF_AVG | SQL_AF_COUNT | SQL_AF_MAX | SQL_AF_MIN | SQL_AF_SUM,
  34. 0
  35.     },
  36.     { SQL_ALTER_DOMAIN,
  37. InfoTab::Bitmask,
  38. 0L,
  39. 0
  40.     },
  41.     { SQL_ALTER_TABLE,
  42. InfoTab::Bitmask,
  43. 0L,
  44. 0
  45.     },
  46.     { SQL_ASYNC_MODE,
  47. InfoTab::Long,
  48. SQL_AM_NONE,
  49. 0
  50.     },
  51.     { SQL_BATCH_ROW_COUNT,
  52. InfoTab::Bitmask,
  53. 0L,
  54. 0
  55.     },
  56.     { SQL_BATCH_SUPPORT,
  57. InfoTab::Bitmask,
  58. 0L,
  59. 0
  60.     },
  61.     { SQL_BOOKMARK_PERSISTENCE,
  62. InfoTab::Bitmask,
  63. 0L,
  64. 0
  65.     },
  66.     { SQL_CATALOG_LOCATION,
  67. InfoTab::Short,
  68. 0L,
  69. 0
  70.     },
  71.     { SQL_CATALOG_NAME,
  72. InfoTab::YesNo,
  73. 0L,
  74. "N"
  75.     },
  76.     { SQL_CATALOG_NAME_SEPARATOR,
  77. InfoTab::Char,
  78. 0L,
  79. ""
  80.     },
  81.     { SQL_CATALOG_TERM,
  82. InfoTab::Char,
  83. 0L,
  84. ""
  85.     },
  86.     { SQL_CATALOG_USAGE,
  87. InfoTab::Bitmask,
  88. 0L,
  89. 0
  90.     },
  91.     { SQL_COLLATION_SEQ,
  92. InfoTab::Char,
  93. 0L,
  94. "ISO 8859-1"
  95.     },
  96.     { SQL_COLUMN_ALIAS,
  97. InfoTab::YesNo,
  98. 0L,
  99. "Y"
  100.     },
  101.     { SQL_CONCAT_NULL_BEHAVIOR,
  102. InfoTab::Short,
  103. 0L,
  104. 0
  105.     },
  106.     { SQL_CONVERT_BIGINT,
  107. InfoTab::Bitmask,
  108. 0L,
  109. 0
  110.     },
  111.     { SQL_CONVERT_BINARY,
  112. InfoTab::Bitmask,
  113. 0L,
  114. 0
  115.     },
  116.     { SQL_CONVERT_BIT,
  117. InfoTab::Bitmask,
  118. 0L,
  119. 0
  120.     },
  121.     { SQL_CONVERT_CHAR,
  122. InfoTab::Bitmask,
  123. 0L,
  124. 0
  125.     },
  126.     { SQL_CONVERT_DATE,
  127. InfoTab::Bitmask,
  128. 0L,
  129. 0
  130.     },
  131.     { SQL_CONVERT_DECIMAL,
  132. InfoTab::Bitmask,
  133. 0L,
  134. 0
  135.     },
  136.     { SQL_CONVERT_DOUBLE,
  137. InfoTab::Bitmask,
  138. 0L,
  139. 0
  140.     },
  141.     { SQL_CONVERT_FLOAT,
  142. InfoTab::Bitmask,
  143. 0L,
  144. 0
  145.     },
  146.     { SQL_CONVERT_FUNCTIONS,
  147. InfoTab::Bitmask,
  148. 0L,
  149. 0
  150.     },
  151. #if 0
  152.     { SQL_CONVERT_GUID,
  153. InfoTab::Bitmask,
  154. 0L,
  155. 0
  156.     },
  157. #endif
  158.     { SQL_CONVERT_INTEGER,
  159. InfoTab::Bitmask,
  160. 0L,
  161. 0
  162.     },
  163.     { SQL_CONVERT_INTERVAL_DAY_TIME,
  164. InfoTab::Bitmask,
  165. 0L,
  166. 0
  167.     },
  168.     { SQL_CONVERT_INTERVAL_YEAR_MONTH,
  169. InfoTab::Bitmask,
  170. 0L,
  171. 0
  172.     },
  173.     { SQL_CONVERT_LONGVARBINARY,
  174. InfoTab::Bitmask,
  175. 0L,
  176. 0
  177.     },
  178.     { SQL_CONVERT_LONGVARCHAR,
  179. InfoTab::Bitmask,
  180. 0L,
  181. 0
  182.     },
  183.     { SQL_CONVERT_NUMERIC,
  184. InfoTab::Bitmask,
  185. 0L,
  186. 0
  187.     },
  188.     { SQL_CONVERT_REAL,
  189. InfoTab::Bitmask,
  190. 0L,
  191. 0
  192.     },
  193.     { SQL_CONVERT_SMALLINT,
  194. InfoTab::Bitmask,
  195. 0L,
  196. 0
  197.     },
  198.     { SQL_CONVERT_TIME,
  199. InfoTab::Bitmask,
  200. 0L,
  201. 0
  202.     },
  203.     { SQL_CONVERT_TIMESTAMP,
  204. InfoTab::Bitmask,
  205. 0L,
  206. 0
  207.     },
  208.     { SQL_CONVERT_TINYINT,
  209. InfoTab::Bitmask,
  210. 0L,
  211. 0
  212.     },
  213.     { SQL_CONVERT_VARBINARY,
  214. InfoTab::Bitmask,
  215. 0L,
  216. 0
  217.     },
  218.     { SQL_CONVERT_VARCHAR,
  219. InfoTab::Bitmask,
  220. 0L,
  221. 0
  222.     },
  223.     { SQL_CORRELATION_NAME,
  224. InfoTab::Bitmask,
  225. SQL_CN_ANY,
  226. 0
  227.     },
  228.     { SQL_CREATE_ASSERTION,
  229. InfoTab::Bitmask,
  230. 0L,
  231. 0
  232.     },
  233.     { SQL_CREATE_CHARACTER_SET,
  234. InfoTab::Bitmask,
  235. 0L,
  236. 0
  237.     },
  238.     { SQL_CREATE_COLLATION,
  239. InfoTab::Bitmask,
  240. 0L,
  241. 0
  242.     },
  243.     { SQL_CREATE_DOMAIN,
  244. InfoTab::Bitmask,
  245. 0L,
  246. 0
  247.     },
  248.     { SQL_CREATE_SCHEMA,
  249. InfoTab::Bitmask,
  250. 0L,
  251. 0
  252.     },
  253.     { SQL_CREATE_TABLE,
  254. InfoTab::Bitmask,
  255. SQL_CT_CREATE_TABLE,
  256. 0
  257.     },
  258.     { SQL_CREATE_TRANSLATION,
  259. InfoTab::Bitmask,
  260. 0L,
  261. 0
  262.     },
  263.     { SQL_CREATE_VIEW,
  264. InfoTab::Bitmask,
  265. 0L,
  266. 0
  267.     },
  268.     { SQL_CURSOR_COMMIT_BEHAVIOR,
  269. InfoTab::Short,
  270. SQL_CB_CLOSE,
  271. 0
  272.     },
  273.     { SQL_CURSOR_ROLLBACK_BEHAVIOR,
  274. InfoTab::Short,
  275. SQL_CB_CLOSE,
  276. 0
  277.     },
  278.     { SQL_CURSOR_SENSITIVITY,
  279. InfoTab::Long,
  280. 0L,
  281. 0
  282.     },
  283.     { SQL_DATABASE_NAME,
  284. InfoTab::Char,
  285. 0L,
  286. ""
  287.     },
  288.     { SQL_DATA_SOURCE_NAME,
  289. InfoTab::Char,
  290. 0L,
  291. ""
  292.     },
  293.     { SQL_DATA_SOURCE_READ_ONLY,
  294. InfoTab::YesNo,
  295. 0L,
  296. "N"
  297.     },
  298.     { SQL_DATETIME_LITERALS,
  299. InfoTab::Bitmask,
  300. 0L,
  301. 0
  302.     },
  303.     { SQL_DBMS_NAME,
  304. InfoTab::Char,
  305. 0L,
  306. ""
  307.     },
  308.     { SQL_DBMS_VER,
  309. InfoTab::Char,
  310. 0L,
  311. "01.43.0000"
  312.     },
  313.     { SQL_DDL_INDEX,
  314. InfoTab::Long,
  315. 0L,
  316. 0
  317.     },
  318.     { SQL_DEFAULT_TXN_ISOLATION,
  319. InfoTab::Long,
  320. SQL_TXN_READ_COMMITTED,
  321. 0
  322.     },
  323.     { SQL_DESCRIBE_PARAMETER,
  324. InfoTab::YesNo,
  325. 0L,
  326. "N"
  327.     },
  328.     { SQL_DM_VER,
  329. InfoTab::Char,
  330. 0L,
  331. ""
  332.     },
  333.     { SQL_DRIVER_HDBC,
  334. InfoTab::Long,
  335. 0L,
  336. 0
  337.     },
  338.     { SQL_DRIVER_HDESC,
  339. InfoTab::Long,
  340. 0L,
  341. 0
  342.     },
  343.     { SQL_DRIVER_HLIB,
  344. InfoTab::Long,
  345. 0L,
  346. 0
  347.     },
  348.     { SQL_DRIVER_HSTMT,
  349. InfoTab::Long,
  350. 0L,
  351. 0
  352.     },
  353.     { SQL_DRIVER_NAME,
  354. InfoTab::Char,
  355. 0L,
  356. ""
  357.     },
  358.     { SQL_DRIVER_ODBC_VER,
  359. InfoTab::Char,
  360. 0L,
  361. "03.00"
  362.     },
  363.     { SQL_DRIVER_VER,
  364. InfoTab::Char,
  365. 0L,
  366. "00.10.0000"
  367.     },
  368.     { SQL_DROP_ASSERTION,
  369. InfoTab::Bitmask,
  370. 0L,
  371. 0
  372.     },
  373.     { SQL_DROP_CHARACTER_SET,
  374. InfoTab::Bitmask,
  375. 0L,
  376. 0
  377.     },
  378.     { SQL_DROP_COLLATION,
  379. InfoTab::Bitmask,
  380. 0L,
  381. 0
  382.     },
  383.     { SQL_DROP_DOMAIN,
  384. InfoTab::Bitmask,
  385. 0L,
  386. 0
  387.     },
  388.     { SQL_DROP_SCHEMA,
  389. InfoTab::Bitmask,
  390. 0L,
  391. 0
  392.     },
  393.     { SQL_DROP_TABLE,
  394. InfoTab::Bitmask,
  395. 0L,
  396. 0
  397.     },
  398.     { SQL_DROP_TRANSLATION,
  399. InfoTab::Bitmask,
  400. 0L,
  401. 0
  402.     },
  403.     { SQL_DROP_VIEW,
  404. InfoTab::Bitmask,
  405. 0L,
  406. 0
  407.     },
  408.     { SQL_DTC_TRANSITION_COST, // not in older MS docs
  409. InfoTab::Bitmask,
  410. 0L,
  411. 0 // SQL_DTC_ENLIST_EXPENSIVE | SQL_DTC_UNENLIST_EXPENSIVE
  412.     },
  413.     { SQL_DYNAMIC_CURSOR_ATTRIBUTES1,
  414. InfoTab::Bitmask,
  415. 0L,
  416. 0
  417.     },
  418.     { SQL_DYNAMIC_CURSOR_ATTRIBUTES2,
  419. InfoTab::Bitmask,
  420. 0L,
  421. 0
  422.     },
  423.     { SQL_EXPRESSIONS_IN_ORDERBY,
  424. InfoTab::Char,
  425. 0L,
  426. "Y"
  427.     },
  428.     { SQL_FILE_USAGE,
  429. InfoTab::Short,
  430. 0L,
  431. 0
  432.     },
  433.     { SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES1,
  434. InfoTab::Bitmask,
  435. 0L,
  436. 0
  437.     },
  438.     { SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES2,
  439. InfoTab::Bitmask,
  440. 0L,
  441. 0
  442.     },
  443.     { SQL_GETDATA_EXTENSIONS,
  444. InfoTab::Bitmask,
  445. SQL_GD_ANY_COLUMN | SQL_GD_ANY_ORDER | SQL_GD_BOUND,
  446. 0
  447.     },
  448.     { SQL_GROUP_BY,
  449. InfoTab::Short,
  450. SQL_GB_NOT_SUPPORTED,
  451. 0
  452.     },
  453.     { SQL_IDENTIFIER_CASE,
  454. InfoTab::Short,
  455. SQL_IC_UPPER,
  456. 0
  457.     },
  458.     { SQL_IDENTIFIER_QUOTE_CHAR,
  459. InfoTab::Char,
  460. 0L,
  461. """
  462.     },
  463.     { SQL_INDEX_KEYWORDS,
  464. InfoTab::Bitmask,
  465. 0L,
  466. 0
  467.     },
  468.     { SQL_INFO_SCHEMA_VIEWS,
  469. InfoTab::Bitmask,
  470. 0L,
  471. 0
  472.     },
  473.     { SQL_INSERT_STATEMENT,
  474. InfoTab::Bitmask,
  475. SQL_IS_INSERT_LITERALS | SQL_IS_SELECT_INTO,
  476. 0
  477.     },
  478.     { SQL_INTEGRITY,
  479. InfoTab::YesNo,
  480. 0L,
  481. "N"
  482.     },
  483.     { SQL_KEYSET_CURSOR_ATTRIBUTES1,
  484. InfoTab::Bitmask,
  485. 0L,
  486. 0
  487.     },
  488.     { SQL_KEYSET_CURSOR_ATTRIBUTES2,
  489. InfoTab::Bitmask,
  490. 0L,
  491. 0
  492.     },
  493.     { SQL_KEYWORDS,
  494. InfoTab::Char,
  495. 0L,
  496. ""
  497.     },
  498.     { SQL_LIKE_ESCAPE_CLAUSE,
  499. InfoTab::YesNo,
  500. 0L,
  501. "N"
  502.     },
  503.     { SQL_MAX_ASYNC_CONCURRENT_STATEMENTS,
  504. InfoTab::Long,
  505. 0L,
  506. 0
  507.     },
  508.     { SQL_MAX_BINARY_LITERAL_LEN,
  509. InfoTab::Long,
  510. 0L,
  511. 0
  512.     },
  513.     { SQL_MAX_CATALOG_NAME_LEN,
  514. InfoTab::Short,
  515. 0L,
  516. 0
  517.     },
  518.     { SQL_MAX_CHAR_LITERAL_LEN,
  519. InfoTab::Long,
  520. 0L,
  521. 0
  522.     },
  523.     { SQL_MAX_COLUMN_NAME_LEN,
  524. InfoTab::Short,
  525. 16,
  526. 0
  527.     },
  528.     { SQL_MAX_COLUMNS_IN_GROUP_BY,
  529. InfoTab::Short,
  530. 0L,
  531. 0
  532.     },
  533.     { SQL_MAX_COLUMNS_IN_INDEX,
  534. InfoTab::Short,
  535. 0L,
  536. 0
  537.     },
  538.     { SQL_MAX_COLUMNS_IN_ORDER_BY,
  539. InfoTab::Short,
  540. 0L,
  541. 0
  542.     },
  543.     { SQL_MAX_COLUMNS_IN_SELECT,
  544. InfoTab::Short,
  545. 0L,
  546. 0
  547.     },
  548.     { SQL_MAX_COLUMNS_IN_TABLE,
  549. InfoTab::Short,
  550. 0L,
  551. 0
  552.     },
  553.     { SQL_MAX_CONCURRENT_ACTIVITIES,
  554. InfoTab::Short,
  555. 0L,
  556. 0
  557.     },
  558.     { SQL_MAX_CURSOR_NAME_LEN,
  559. InfoTab::Short,
  560. 0L,
  561. 0
  562.     },
  563.     { SQL_MAX_DRIVER_CONNECTIONS,
  564. InfoTab::Short,
  565. 0L,
  566. 0
  567.     },
  568.     { SQL_MAX_IDENTIFIER_LEN,
  569. InfoTab::Short,
  570. 0L,
  571. 0
  572.     },
  573.     { SQL_MAX_INDEX_SIZE,
  574. InfoTab::Long,
  575. 0L,
  576. 0
  577.     },
  578.     { SQL_MAX_PROCEDURE_NAME_LEN,
  579. InfoTab::Short,
  580. 0L,
  581. 0
  582.     },
  583.     { SQL_MAX_ROW_SIZE,
  584. InfoTab::Long,
  585. 8000,
  586. 0
  587.     },
  588.     { SQL_MAX_ROW_SIZE_INCLUDES_LONG,
  589. InfoTab::YesNo,
  590. 0L,
  591. "Y"
  592.     },
  593.     { SQL_MAX_SCHEMA_NAME_LEN,
  594. InfoTab::Short,
  595. 0L,
  596. 0
  597.     },
  598.     { SQL_MAX_STATEMENT_LEN,
  599. InfoTab::Long,
  600. 0L,
  601. 0
  602.     },
  603.     { SQL_MAX_TABLE_NAME_LEN,
  604. InfoTab::Short,
  605. 0L,
  606. 0
  607.     },
  608.     { SQL_MAX_TABLES_IN_SELECT,
  609. InfoTab::Short,
  610. 0L,
  611. 0
  612.     },
  613.     { SQL_MAX_USER_NAME_LEN,
  614. InfoTab::Short,
  615. 0L,
  616. 0
  617.     },
  618.     { SQL_MULTIPLE_ACTIVE_TXN,
  619. InfoTab::YesNo,
  620. 0L,
  621. "N"
  622.     },
  623.     { SQL_MULT_RESULT_SETS,
  624. InfoTab::YesNo,
  625. 0L,
  626. "N"
  627.     },
  628.     { SQL_NEED_LONG_DATA_LEN,
  629. InfoTab::YesNo,
  630. 0L,
  631. "N"
  632.     },
  633.     { SQL_NON_NULLABLE_COLUMNS,
  634. InfoTab::Short,
  635. SQL_NNC_NON_NULL,
  636. 0
  637.     },
  638.     { SQL_NULL_COLLATION,
  639. InfoTab::Short,
  640. SQL_NC_HIGH,
  641. 0
  642.     },
  643.     { SQL_NUMERIC_FUNCTIONS,
  644. InfoTab::Bitmask,
  645. 0L,
  646. 0
  647.     },
  648.     { SQL_ODBC_INTERFACE_CONFORMANCE,
  649. InfoTab::Long,
  650. SQL_OIC_CORE,
  651. 0
  652.     },
  653.     { SQL_ODBC_VER,
  654. InfoTab::Char,
  655. 0L,
  656. ""
  657.     },
  658.     { SQL_OJ_CAPABILITIES,
  659. InfoTab::Bitmask,
  660. 0L,
  661. 0
  662.     },
  663.     { SQL_ORDER_BY_COLUMNS_IN_SELECT,
  664. InfoTab::YesNo,
  665. 0L,
  666. "N"
  667.     },
  668.     { SQL_PARAM_ARRAY_ROW_COUNTS,
  669. InfoTab::Long,
  670. 0L,
  671. 0
  672.     },
  673.     { SQL_PARAM_ARRAY_SELECTS,
  674. InfoTab::Long,
  675. 0L,
  676. 0
  677.     },
  678.     { SQL_POS_OPERATIONS,
  679. InfoTab::Bitmask,
  680. 0L,
  681. 0
  682.     },
  683.     { SQL_PROCEDURES,
  684. InfoTab::YesNo,
  685. 0L,
  686. "N"
  687.     },
  688.     { SQL_PROCEDURE_TERM,
  689. InfoTab::Char,
  690. 0L,
  691. ""
  692.     },
  693.     { SQL_QUOTED_IDENTIFIER_CASE,
  694. InfoTab::Short,
  695. SQL_IC_SENSITIVE,
  696. 0
  697.     },
  698.     { SQL_ROW_UPDATES,
  699. InfoTab::YesNo,
  700. 0L,
  701. "N"
  702.     },
  703.     { SQL_SCHEMA_TERM,
  704. InfoTab::Char,
  705. 0L,
  706. ""
  707.     },
  708.     { SQL_SCHEMA_USAGE,
  709. InfoTab::Bitmask,
  710. 0L,
  711. 0
  712.     },
  713.     { SQL_SCROLL_OPTIONS,
  714. InfoTab::Bitmask,
  715. SQL_SO_FORWARD_ONLY,
  716. 0
  717.     },
  718.     { SQL_SEARCH_PATTERN_ESCAPE,
  719. InfoTab::Char,
  720. 0L,
  721. ""
  722.     },
  723.     { SQL_SERVER_NAME,
  724. InfoTab::Char,
  725. 0L,
  726. ""
  727.     },
  728.     { SQL_SPECIAL_CHARACTERS,
  729. InfoTab::Char,
  730. 0L,
  731. ""
  732.     },
  733.     { SQL_SQL92_DATETIME_FUNCTIONS,
  734. InfoTab::Bitmask,
  735. 0L,
  736. 0
  737.     },
  738.     { SQL_SQL92_FOREIGN_KEY_DELETE_RULE,
  739. InfoTab::Bitmask,
  740. 0L,
  741. 0
  742.     },
  743.     { SQL_SQL92_FOREIGN_KEY_UPDATE_RULE,
  744. InfoTab::Bitmask,
  745. 0L,
  746. 0
  747.     },
  748.     { SQL_SQL92_GRANT,
  749. InfoTab::Bitmask,
  750. 0L,
  751. 0
  752.     },
  753.     { SQL_SQL92_NUMERIC_VALUE_FUNCTIONS,
  754. InfoTab::Bitmask,
  755. 0L,
  756. 0
  757.     },
  758.     { SQL_SQL92_PREDICATES,
  759. InfoTab::Bitmask,
  760. SQL_SP_COMPARISON | SQL_SP_IN | SQL_SP_ISNOTNULL | SQL_SP_ISNULL | SQL_SP_LIKE,
  761. 0
  762.     },
  763.     { SQL_SQL92_RELATIONAL_JOIN_OPERATORS,
  764. InfoTab::Bitmask,
  765. 0L,
  766. 0
  767.     },
  768.     { SQL_SQL92_REVOKE,
  769. InfoTab::Bitmask,
  770. 0L,
  771. 0
  772.     },
  773.     { SQL_SQL92_ROW_VALUE_CONSTRUCTOR,
  774. InfoTab::Bitmask,
  775. SQL_SRVC_VALUE_EXPRESSION,
  776. 0
  777.     },
  778.     { SQL_SQL92_STRING_FUNCTIONS,
  779. InfoTab::Bitmask,
  780. 0L,
  781. 0
  782.     },
  783.     { SQL_SQL92_VALUE_EXPRESSIONS,
  784. InfoTab::Bitmask,
  785. 0L,
  786. 0
  787.     },
  788.     { SQL_SQL_CONFORMANCE,
  789. InfoTab::Long,
  790. 0L,
  791. 0
  792.     },
  793.     { SQL_STANDARD_CLI_CONFORMANCE,
  794. InfoTab::Bitmask,
  795. 0L,
  796. 0
  797.     },
  798.     { SQL_STATIC_CURSOR_ATTRIBUTES1,
  799. InfoTab::Bitmask,
  800. 0L,
  801. 0
  802.     },
  803.     { SQL_STATIC_CURSOR_ATTRIBUTES2,
  804. InfoTab::Bitmask,
  805. 0L,
  806. 0
  807.     },
  808.     { SQL_STRING_FUNCTIONS,
  809. InfoTab::Bitmask,
  810. 0L,
  811. 0
  812.     },
  813.     { SQL_SUBQUERIES,
  814. InfoTab::Bitmask,
  815. 0L,
  816. 0
  817.     },
  818.     { SQL_SYSTEM_FUNCTIONS,
  819. InfoTab::Bitmask,
  820. 0L,
  821. 0
  822.     },
  823.     { SQL_TABLE_TERM,
  824. InfoTab::Char,
  825. 0L,
  826. "TABLE"
  827.     },
  828.     { SQL_TIMEDATE_ADD_INTERVALS,
  829. InfoTab::Bitmask,
  830. 0L,
  831. 0
  832.     },
  833.     { SQL_TIMEDATE_DIFF_INTERVALS,
  834. InfoTab::Bitmask,
  835. 0L,
  836. 0
  837.     },
  838.     { SQL_TIMEDATE_FUNCTIONS,
  839. InfoTab::Bitmask,
  840. 0L,
  841. 0
  842.     },
  843.     { SQL_TXN_CAPABLE,
  844. InfoTab::Short,
  845. SQL_TC_DDL_COMMIT, // XXX do it
  846. 0
  847.     },
  848.     { SQL_TXN_ISOLATION_OPTION,
  849. InfoTab::Bitmask,
  850. SQL_TXN_READ_COMMITTED,
  851. 0
  852.     },
  853.     { SQL_UNION,
  854. InfoTab::Bitmask,
  855. 0L,
  856. 0
  857.     },
  858.     { SQL_USER_NAME,
  859. InfoTab::Char,
  860. 0L,
  861. ""
  862.     },
  863.     { SQL_XOPEN_CLI_YEAR,
  864. InfoTab::Char,
  865. 0L,
  866. ""
  867.     },
  868.     {   0,
  869. InfoTab::End,
  870. 0L,
  871. 0
  872.     }
  873. };