亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? _mysql.c

?? python聯(lián)接mysql驅(qū)動(dòng) python聯(lián)接mysql驅(qū)動(dòng)
?? C
?? 第 1 頁(yè) / 共 5 頁(yè)
字號(hào):
	const char *s;	int err;	if (!PyArg_ParseTuple(args, "s", &s)) return NULL;	check_connection(self);	Py_BEGIN_ALLOW_THREADS	err = mysql_set_character_set(&(self->connection), s);	Py_END_ALLOW_THREADS	if (err) return _mysql_Exception(self);	Py_INCREF(Py_None);	return Py_None;}#endif#if MYSQL_VERSION_ID >= 50010static char _mysql_ConnectionObject_get_character_set_info__doc__[] ="Returns a dict with information about the current character set:\n\\n\collation\n\    collation name\n\name\n\    character set name\n\comment\n\    comment or descriptive name\n\dir\n\    character set directory\n\mbminlen\n\    min. length for multibyte string\n\mbmaxlen\n\    max. length for multibyte string\n\\n\Not all keys may be present, particularly dir.\n\\n\Non-standard.\n\";static PyObject *_mysql_ConnectionObject_get_character_set_info(	_mysql_ConnectionObject *self,	PyObject *args){	PyObject *result;	MY_CHARSET_INFO cs;		if (!PyArg_ParseTuple(args, "")) return NULL;	check_connection(self);	mysql_get_character_set_info(&(self->connection), &cs);	if (!(result = PyDict_New())) return NULL;	if (cs.csname)		PyDict_SetItemString(result, "name", PyString_FromString(cs.csname));	if (cs.name)		PyDict_SetItemString(result, "collation", PyString_FromString(cs.name));	if (cs.comment)		PyDict_SetItemString(result, "comment", PyString_FromString(cs.comment));	if (cs.dir)		PyDict_SetItemString(result, "dir", PyString_FromString(cs.dir));	PyDict_SetItemString(result, "mbminlen", PyInt_FromLong(cs.mbminlen));	PyDict_SetItemString(result, "mbmaxlen", PyInt_FromLong(cs.mbmaxlen));	return result;}#endifstatic char _mysql_get_client_info__doc__[] ="get_client_info() -- Returns a string that represents\n\the client library version.";static PyObject *_mysql_get_client_info(	PyObject *self,	PyObject *args){	if (!PyArg_ParseTuple(args, "")) return NULL;	check_server_init(NULL);	return PyString_FromString(mysql_get_client_info());}static char _mysql_ConnectionObject_get_host_info__doc__[] ="Returns a string that represents the MySQL client library\n\version. Non-standard.\n\";static PyObject *_mysql_ConnectionObject_get_host_info(	_mysql_ConnectionObject *self,	PyObject *args){	if (!PyArg_ParseTuple(args, "")) return NULL;	check_connection(self);	return PyString_FromString(mysql_get_host_info(&(self->connection)));}static char _mysql_ConnectionObject_get_proto_info__doc__[] ="Returns an unsigned integer representing the protocol version\n\used by the current connection. Non-standard.\n\";static PyObject *_mysql_ConnectionObject_get_proto_info(	_mysql_ConnectionObject *self,	PyObject *args){	if (!PyArg_ParseTuple(args, "")) return NULL;	check_connection(self);	return PyInt_FromLong((long)mysql_get_proto_info(&(self->connection)));}static char _mysql_ConnectionObject_get_server_info__doc__[] ="Returns a string that represents the server version number.\n\Non-standard.\n\";static PyObject *_mysql_ConnectionObject_get_server_info(	_mysql_ConnectionObject *self,	PyObject *args){	if (!PyArg_ParseTuple(args, "")) return NULL;	check_connection(self);	return PyString_FromString(mysql_get_server_info(&(self->connection)));}static char _mysql_ConnectionObject_info__doc__[] ="Retrieves a string providing information about the most\n\recently executed query. Non-standard. Use messages or\n\Cursor.messages.\n\";static PyObject *_mysql_ConnectionObject_info(	_mysql_ConnectionObject *self,	PyObject *args){	const char *s;	if (!PyArg_ParseTuple(args, "")) return NULL;	check_connection(self);	s = mysql_info(&(self->connection));	if (s) return PyString_FromString(s);	Py_INCREF(Py_None);	return Py_None;}static char _mysql_ConnectionObject_insert_id__doc__[] ="Returns the ID generated for an AUTO_INCREMENT column by the previous\n\query. Use this function after you have performed an INSERT query into a\n\table that contains an AUTO_INCREMENT field.\n\\n\Note that this returns 0 if the previous query does not\n\generate an AUTO_INCREMENT value. If you need to save the value for\n\later, be sure to call this immediately after the query\n\that generates the value.\n\\n\The ID is updated after INSERT and UPDATE statements that generate\n\an AUTO_INCREMENT value or that set a column value to\n\LAST_INSERT_ID(expr). See section 6.3.5.2 Miscellaneous Functions\n\in the MySQL documentation.\n\\n\Also note that the value of the SQL LAST_INSERT_ID() function always\n\contains the most recently generated AUTO_INCREMENT value, and is not\n\reset between queries because the value of that function is maintained\n\in the server.\n\" ;static PyObject *_mysql_ConnectionObject_insert_id(	_mysql_ConnectionObject *self,	PyObject *args){	my_ulonglong r;	if (!PyArg_ParseTuple(args, "")) return NULL;	check_connection(self);	Py_BEGIN_ALLOW_THREADS	r = mysql_insert_id(&(self->connection));	Py_END_ALLOW_THREADS	return PyLong_FromUnsignedLongLong(r);}static char _mysql_ConnectionObject_kill__doc__[] ="Asks the server to kill the thread specified by pid.\n\Non-standard.";static PyObject *_mysql_ConnectionObject_kill(	_mysql_ConnectionObject *self,	PyObject *args){	unsigned long pid;	int r;	if (!PyArg_ParseTuple(args, "i:kill", &pid)) return NULL;	check_connection(self);	Py_BEGIN_ALLOW_THREADS	r = mysql_kill(&(self->connection), pid);	Py_END_ALLOW_THREADS	if (r) return _mysql_Exception(self);	Py_INCREF(Py_None);	return Py_None;}static char _mysql_ConnectionObject_field_count__doc__[] ="Returns the number of columns for the most recent query on the\n\connection. Non-standard. Will probably give you bogus results\n\on most cursor classes. Use Cursor.rowcount.\n\";static PyObject *_mysql_ConnectionObject_field_count(	_mysql_ConnectionObject *self,	PyObject *args){	if (!PyArg_ParseTuple(args, "")) return NULL;	check_connection(self);#if MYSQL_VERSION_ID < 32224	return PyInt_FromLong((long)mysql_num_fields(&(self->connection)));#else	return PyInt_FromLong((long)mysql_field_count(&(self->connection)));#endif}	static char _mysql_ResultObject_num_fields__doc__[] ="Returns the number of fields (column) in the result." ;static PyObject *_mysql_ResultObject_num_fields(	_mysql_ResultObject *self,	PyObject *args){	if (!PyArg_ParseTuple(args, "")) return NULL;	check_result_connection(self);	return PyInt_FromLong((long)mysql_num_fields(self->result));}	static char _mysql_ResultObject_num_rows__doc__[] ="Returns the number of rows in the result set. Note that if\n\use=1, this will not return a valid value until the entire result\n\set has been read.\n\";static PyObject *_mysql_ResultObject_num_rows(	_mysql_ResultObject *self,	PyObject *args){	if (!PyArg_ParseTuple(args, "")) return NULL;	check_result_connection(self);	return PyLong_FromUnsignedLongLong(mysql_num_rows(self->result));}	static char _mysql_ConnectionObject_ping__doc__[] ="Checks whether or not the connection to the server is\n\working. If it has gone down, an automatic reconnection is\n\attempted.\n\\n\This function can be used by clients that remain idle for a\n\long while, to check whether or not the server has closed the\n\connection and reconnect if necessary.\n\\n\New in 1.2.2: Accepts an optional reconnect parameter. If True,\n\then the client will attempt reconnection. Note that this setting\n\is persistent. By default, this is on in MySQL<5.0.3, and off\n\thereafter.\n\\n\Non-standard. You should assume that ping() performs an\n\implicit rollback; use only when starting a new transaction.\n\You have been warned.\n\";static PyObject *_mysql_ConnectionObject_ping(	_mysql_ConnectionObject *self,	PyObject *args){	int r, reconnect = -1;	if (!PyArg_ParseTuple(args, "|I", &reconnect)) return NULL;	check_connection(self);	if ( reconnect != -1 ) self->connection.reconnect = reconnect;	Py_BEGIN_ALLOW_THREADS	r = mysql_ping(&(self->connection));	Py_END_ALLOW_THREADS	if (r) 	return _mysql_Exception(self);	Py_INCREF(Py_None);	return Py_None;}static char _mysql_ConnectionObject_query__doc__[] ="Execute a query. store_result() or use_result() will get the\n\result set, if any. Non-standard. Use cursor() to create a cursor,\n\then cursor.execute().\n\" ;static PyObject *_mysql_ConnectionObject_query(	_mysql_ConnectionObject *self,	PyObject *args){	char *query;	int len, r;	if (!PyArg_ParseTuple(args, "s#:query", &query, &len)) return NULL;	check_connection(self);	Py_BEGIN_ALLOW_THREADS	r = mysql_real_query(&(self->connection), query, len);	Py_END_ALLOW_THREADS	if (r) return _mysql_Exception(self);	Py_INCREF(Py_None);	return Py_None;}static char _mysql_ConnectionObject_select_db__doc__[] ="Causes the database specified by db to become the default\n\(current) database on the connection specified by mysql. In subsequent\n\queries, this database is the default for table references that do not\n\include an explicit database specifier.\n\\n\Fails unless the connected user can be authenticated as having\n\permission to use the database.\n\\n\Non-standard.\n\";static PyObject *_mysql_ConnectionObject_select_db(	_mysql_ConnectionObject *self,	PyObject *args){	char *db;	int r;	if (!PyArg_ParseTuple(args, "s:select_db", &db)) return NULL;	check_connection(self);	Py_BEGIN_ALLOW_THREADS	r = mysql_select_db(&(self->connection), db);	Py_END_ALLOW_THREADS	if (r) 	return _mysql_Exception(self);	Py_INCREF(Py_None);	return Py_None;}static char _mysql_ConnectionObject_shutdown__doc__[] ="Asks the database server to shut down. The connected user must\n\have shutdown privileges. Non-standard.\n\";static PyObject *_mysql_ConnectionObject_shutdown(	_mysql_ConnectionObject *self,	PyObject *args){	int r;	if (!PyArg_ParseTuple(args, "")) return NULL;	check_connection(self);	Py_BEGIN_ALLOW_THREADS	r = mysql_shutdown(&(self->connection)#if MYSQL_VERSION_ID >= 40103		, SHUTDOWN_DEFAULT#endif		);	Py_END_ALLOW_THREADS	if (r) return _mysql_Exception(self);	Py_INCREF(Py_None);	return Py_None;}static char _mysql_ConnectionObject_stat__doc__[] ="Returns a character string containing information similar to\n\that provided by the mysqladmin status command. This includes\n\uptime in seconds and the number of running threads,\n\questions, reloads, and open tables. Non-standard.\n\";static PyObject *_mysql_ConnectionObject_stat(	_mysql_ConnectionObject *self,	PyObject *args){	const char *s;	if (!PyArg_ParseTuple(args, "")) return NULL;	check_connection(self);	Py_BEGIN_ALLOW_THREADS	s = mysql_stat(&(self->connection));	Py_END_ALLOW_THREADS	if (!s) return _mysql_Exception(self);	return PyString_FromString(s);}static char _mysql_ConnectionObject_store_result__doc__[] ="Returns a result object acquired by mysql_store_result\n\(results stored in the client). If no results are available,\n\None is returned. Non-standard.\n\";static PyObject *_mysql_ConnectionObject_store_result(	_mysql_ConnectionObject *self,	PyObject *args){	PyObject *arglist=NULL, *kwarglist=NULL, *result=NULL;	_mysql_ResultObject *r=NULL;	if (!PyArg_ParseTuple(args, "")) return NULL;	check_connection(self);	arglist = Py_BuildValue("(OiO)", self, 0, self->converter);	if (!arglist) goto error;	kwarglist = PyDict_New();	if (!kwarglist) goto error;	r = MyAlloc(_mysql_ResultObject, _mysql_ResultObject_Type);	if (!r) goto error;	if (_mysql_ResultObject_Initialize(r, arglist, kwarglist))		goto error;	result = (PyObject *) r;	if (!(r->result)) {		Py_DECREF(result);		Py_INCREF(Py_None);		result = Py_None;	}  error:	Py_XDECREF(arglist);	Py_XDECREF(kwarglist);	return result;}static char _mysql_ConnectionObject_thread_id__doc__[] ="Returns the thread ID of the current connection. This value\n\can be used as an argument to kill() to kill the thread.\n\\n\If the connection is lost and you reconnect with ping(), the\n\thread ID will change. This means you should not get the\n\thread ID and store it for later. You should get it when you\n\need it.\n\\n\Non-standard.";static PyObject *_mysql_ConnectionObject_thread_id(	_mysql_ConnectionObject *self,	PyObject *args){	unsigned long pid;	if (!PyArg_ParseTuple(args, "")) return NULL;	check_connection(self);	Py_BEGIN_ALLOW_THREADS	pid = mysql_thread_id(&(self->connection));	Py_END_ALLOW_THREADS	return PyInt_FromLong((long)pid);}static char _mysql_ConnectionObject_use_result__doc__[] ="Returns a result object acquired by mysql_use_result\n\(results stored in the server). If no results are available,\n\None is returned. Non-standard.\n\";static PyObject *_mysql_ConnectionObject_use_result(	_mysql_ConnectionObject *self,	PyObject *args){	PyObject *arglist=NULL, *kwarglist=NULL, *result=NULL;	_mysql_ResultObject *r=NULL;	if (!PyArg_ParseTuple(args, "")) return NULL;	check_connection(self);	arglist = Py_BuildValue("(OiO)", self, 1, self->converter);	if (!arglist) return NULL;	kwarglist = PyDict_New();	if (!kwarglist) goto error;	r = MyAlloc(_mysql_ResultObject, _mysql_ResultObject_Type);	if (!r) goto error;	result = (PyObject *) r;	if (_mysql_ResultObject_Initialize(r, arglist, kwarglist))		goto error;	if (!(r->result)) {		Py_DECREF(result);		Py_INCREF(Py_None);		result = Py_None;	}  error:	Py_DECREF(arglist);	Py_XDECREF(kwarglist);	return result;}static void_mysql_ConnectionObject_dealloc(	_mysql_ConnectionObject *self){	PyObject *o;	PyObject_GC_UnTrack(self);	if (self->open) {		o = _mysql_ConnectionObject_close(self, NULL);		Py_XDECREF(o);	}	MyFree(self);}static PyObject *_mysql_ConnectionObject_repr(	_mysql_ConnectionObject *self){	char buf[300];	if (self->open)		sprintf(buf, "<_mysql.connection open to '%.256s' at %lx>",			self->connection.host,			(long)self);	else		sprintf(buf, "<_mysql.connection closed at %lx>",			(long)self);	return PyString_FromString(buf);}static char _mysql_ResultObject_data_seek__doc__[] ="data_seek(n) -- seek to row n of result set";static PyObject *_mysql_ResultObject_data_seek(

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品看片你懂得| 国产日韩影视精品| 国产经典欧美精品| 亚洲高清免费观看| 国产精品久久久久久久久免费桃花 | 91.麻豆视频| 91视频com| 国产成人一区在线| 毛片不卡一区二区| 午夜精品在线看| 亚洲人成小说网站色在线 | 国产精品一二三四五| 亚洲h在线观看| 亚洲欧洲中文日韩久久av乱码| 337p粉嫩大胆色噜噜噜噜亚洲 | 欧美mv日韩mv国产| 欧美欧美欧美欧美首页| 一本久久a久久精品亚洲| 高清av一区二区| 国产精品资源在线| 狂野欧美性猛交blacked| 亚洲成人第一页| 亚洲国产一二三| 玉足女爽爽91| 亚洲色图.com| 中文字幕一区二区三区四区不卡 | 久久精品夜夜夜夜久久| 欧美精品777| 欧美日本免费一区二区三区| 欧美伊人久久久久久午夜久久久久| 成人免费不卡视频| 成人影视亚洲图片在线| 国产精品一区二区在线看| 蜜桃av一区二区三区| 奇米色777欧美一区二区| 日韩成人免费看| 日日夜夜精品视频天天综合网| 亚洲一二三专区| 亚洲一区欧美一区| 亚洲成av人片| 日韩1区2区日韩1区2区| 奇米色777欧美一区二区| 免费精品视频最新在线| 蜜臂av日日欢夜夜爽一区| 日韩成人一级片| 日韩经典一区二区| 老司机精品视频线观看86| 久久精品国产999大香线蕉| 韩国v欧美v亚洲v日本v| 国产成人夜色高潮福利影视| www.欧美日韩| 欧美午夜精品免费| 91麻豆精品91久久久久同性| 欧美大度的电影原声| 国产亚洲精品精华液| 国产欧美日韩精品一区| 亚洲丝袜另类动漫二区| 亚洲第一综合色| 麻豆91免费观看| 精品一二线国产| 国产成人免费视频网站| 91免费版在线| 欧美日韩免费电影| 亚洲精品在线免费播放| 国产日韩欧美综合一区| 亚洲免费高清视频在线| 日韩高清欧美激情| 国产一区二区免费看| 99精品一区二区| 69精品人人人人| 国产日本亚洲高清| 亚洲人成小说网站色在线| 丝袜国产日韩另类美女| 国产精一区二区三区| av中文字幕一区| 欧美午夜一区二区三区| 欧美sm极限捆绑bd| 中文字幕在线观看一区| 五月婷婷激情综合网| 国内精品伊人久久久久av影院| 国产一区二区三区免费看| 成人sese在线| 91精品国产日韩91久久久久久| 国产欧美视频一区二区| 亚洲va天堂va国产va久| 国产成人av自拍| 欧美日本在线播放| 国产精品久久毛片a| 日韩精品国产欧美| 99久久综合99久久综合网站| 日韩美女一区二区三区四区| 日韩精品中文字幕在线一区| 国产精品久久久久9999吃药| 亚洲成人在线网站| 成人性生交大片免费看视频在线| 在线播放日韩导航| 亚洲视频在线观看一区| 麻豆一区二区99久久久久| 成人av电影免费观看| 日韩欧美黄色影院| 亚洲图片欧美综合| 99在线热播精品免费| 久久色.com| 日韩精品亚洲一区| 91极品视觉盛宴| 国产精品久久久久天堂| 久久精品国产99久久6| 欧美精品18+| 亚洲午夜久久久久| 粉嫩一区二区三区性色av| 911国产精品| 亚洲大片在线观看| 波多野结衣亚洲一区| 久久欧美一区二区| 奇米一区二区三区| 欧美少妇性性性| 国产精品沙发午睡系列990531| 韩国女主播成人在线| 日韩欧美二区三区| 日本中文一区二区三区| 在线观看免费亚洲| 综合激情成人伊人| 99精品视频在线免费观看| 欧美激情在线观看视频免费| 国产精品一区二区三区乱码| 欧美成人精精品一区二区频| 视频一区中文字幕| 欧美精品欧美精品系列| 亚洲bt欧美bt精品| 欧美三级电影网| 国产精品女主播在线观看| 国产高清一区日本| 久久免费偷拍视频| 国产精品中文字幕一区二区三区| 精品成人私密视频| 国模娜娜一区二区三区| 久久在线免费观看| 国产精品亚洲午夜一区二区三区| 久久久高清一区二区三区| 国产美女娇喘av呻吟久久| 国产视频亚洲色图| 成人国产在线观看| 亚洲乱码精品一二三四区日韩在线| 91年精品国产| 亚洲va韩国va欧美va精品 | 国产午夜精品久久久久久免费视| 国产精品综合二区| 国产精品免费视频观看| 99在线视频精品| 亚洲主播在线播放| 欧美妇女性影城| 久久精品国产99国产| 国产亚洲午夜高清国产拍精品| 另类的小说在线视频另类成人小视频在线 | 久久婷婷国产综合国色天香| 六月丁香婷婷色狠狠久久| 91精品国产一区二区三区香蕉| 蜜臀久久99精品久久久久宅男 | 国产精品理伦片| 欧美午夜在线一二页| 久久狠狠亚洲综合| 国产日产精品1区| 欧洲人成人精品| 日本欧美一区二区在线观看| 亚洲精品一线二线三线| 成人av网站在线观看免费| 亚洲精品国产a| 日韩一区和二区| 欧美日韩久久不卡| 日韩制服丝袜先锋影音| 精品剧情在线观看| 99精品视频免费在线观看| 日韩精品五月天| 国产无人区一区二区三区| 99精品视频在线观看免费| 亚洲国产日韩在线一区模特| 这里是久久伊人| 粉嫩嫩av羞羞动漫久久久| 亚洲国产精品嫩草影院| 精品福利一二区| 色综合久久久久综合| 免费国产亚洲视频| 亚洲欧美日韩系列| 日韩精品中文字幕一区| 99久久国产综合精品色伊| 亚洲一线二线三线视频| www国产亚洲精品久久麻豆| 成人黄色免费短视频| 日韩av在线播放中文字幕| 久久久91精品国产一区二区精品 | 免费在线欧美视频| 精品理论电影在线观看| 色婷婷综合久久| 国产传媒一区在线| 日日夜夜精品视频免费| 欧美国产97人人爽人人喊| 在线国产亚洲欧美| 国产成人鲁色资源国产91色综| 午夜精品久久久久久久久久| 中文文精品字幕一区二区|