Resultset

You are viewing an old version of this article. View the current version here.

Resultset

A resultset consist in differents packets :

Column count packet

Column definition packet


Field types

0MYSQL_TYPE_DECIMAL
1MYSQL_TYPE_TINY
2MYSQL_TYPE_SHORT
3MYSQL_TYPE_LONG,
4MYSQL_TYPE_FLOAT
5MYSQL_TYPE_DOUBLE,
6MYSQL_TYPE_NULL
7MYSQL_TYPE_TIMESTAMP
8MYSQL_TYPE_LONGLONG,MYSQL_TYPE_INT24
9MYSQL_TYPE_DATE
10MYSQL_TYPE_TIME
11MYSQL_TYPE_DATETIME
12MYSQL_TYPE_YEAR
13MYSQL_TYPE_NEWDATE
14MYSQL_TYPE_VARCHAR
15MYSQL_TYPE_BIT
16MYSQL_TYPE_TIMESTAMP2
17MYSQL_TYPE_DATETIME2
18MYSQL_TYPE_TIME2
246MYSQL_TYPE_NEWDECIMAL
247MYSQL_TYPE_ENUM
248MYSQL_TYPE_SET
249MYSQL_TYPE_TINY_BLOB
250MYSQL_TYPE_MEDIUM_BLOB
251MYSQL_TYPE_LONG_BLOB
252MYSQL_TYPE_BLOB
253MYSQL_TYPE_VAR_STRING
254MYSQL_TYPE_STRING
255MYSQL_TYPE_GEOMETRY

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.