git
https://github.com/sea-boat/mysql-protocol
Aperçu
Identifiant de l'état du serveur.
Plus de détails : https://dev.mysql.com/doc/internals/en/status-flags.html
Classe ServerStatus
1 2 3 | package com.seaboat.mysql.protocol.constant;/**
*
* <pre class = "brush:php;toolbar:false" ><b>server status.</b>
|
* @author
*
*
1 | <b>email: </b>849586227@qq.com
|
*
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | <b>blog: </b>http:
* @version 1.0
* @see http:
*/ public class ServerStatus {
public static int SERVER_STATUS_IN_TRANS = 0x0001;
public static int SERVER_STATUS_AUTOCOMMIT = 0x0002;
public static int SERVER_MORE_RESULTS_EXISTS = 0x0008;
public static int SERVER_STATUS_NO_GOOD_INDEX_USED = 0x0010;
public static int SERVER_STATUS_NO_INDEX_USED = 0x0020;
public static int SERVER_STATUS_CURSOR_EXISTS = 0x0040;
public static int SERVER_STATUS_LAST_ROW_SENT = 0x0080;
public static int SERVER_STATUS_DB_DROPPED = 0x0100;
public static int SERVER_STATUS_NO_BACKSLASH_ESCAPES = 0x0200;
public static int SERVER_STATUS_METADATA_CHANGED = 0x0400;
public static int SERVER_QUERY_WAS_SLOW = 0x0800;
public static int SERVER_PS_OUT_PARAMS = 0x1000;
public static int SERVER_STATUS_IN_TRANS_READONLY = 0x2000;
public static int SERVER_SESSION_STATE_CHANGED = 0x4000;
}
|
Copier après la connexion
Ce qui précède correspond aux détails du code de l'identifiant d'état du serveur du protocole mysql. Pour plus de contenu connexe, veuillez faire attention au site Web PHP chinois (www.php.cn) !