示例#1
0
    public static string Error()
    {
        string result;

        if (MySQL1.SQL == IntPtr.Zero)
        {
            result = null;
        }
        else
        {
            result = Marshal.PtrToStringAnsi(MySQL1.mysql_error(MySQL1.SQL));
        }
        return(result);
    }