Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/MySQLdb/__pycache__/ |
Upload File : |
o ct�]�? � @ s$ d Z ddlmZmZ ddlmZ ddlZddlZddlm Z ddl mZmZm Z mZmZmZmZmZmZmZ e�dejejB �ZG d d � d e�ZG dd� de�ZG d d� de�ZG dd� de�ZG dd� de�ZG dd� deee�ZG dd� deee�Z G dd� deee�Z!G dd� deee�Z"dS )zyMySQLdb Cursors This module implements Cursors of various types for MySQLdb. By default, MySQLdb uses the Cursor class. � )�print_function�absolute_import)�partialN� )�unicode) �Warning�Error�InterfaceError� DataError� DatabaseError�OperationalError�IntegrityError� InternalError�NotSupportedError�ProgrammingErrorz|\s*((?:INSERT|REPLACE)\b.+\bVALUES?\s*)(\(\s*(?:%s|%\(.+\)s)\s*(?:,\s*(?:%s|%\(.+\)s)\s*)*\))(\s*(?:ON DUPLICATE.*)?);?\s*\Zc @ s e Zd ZdZdZddlmZmZmZm Z m Z mZmZm Z mZmZmZ dZdd� Zdd � Zd d� Zdd � Zdd� Zdd� Zdd� Zdd� Zdd� Zdd� Zdd� Zdd� Zd-dd�Zd d!� Zd"d#� Z d.d%d&�Z!d'd(� Z"d/d)d*�Z#d+d,� Z$eZeZe Z e Z eZeZe Z eZeZeZdS )0� BaseCursora A base for Cursor classes. Useful attributes: description A tuple of DB API 7-tuples describing the columns in the last executed query; see PEP-249 for details. description_flags Tuple of column flags for last query, one entry per column in the result set. Values correspond to those in MySQLdb.constants.FLAG. See MySQL documentation (C API) for more information. Non-standard extension. arraysize default number of rows fetchmany() will fetch i r )� MySQLErrorr r r r r r r r r r Nc C sR || _ d | _d | _d| _d| _d | _d | _d | _g | _d | _ d | _ d | _d | _d S )N���r ) � connection�description�description_flags�rowcount� arraysize� _executed�_last_executed� lastrowid�messages�_result� _warnings� rownumber�_rows)�selfr � r"