Skip to content

Returned values are always []byte for mariadb with mysql driver #1386

@kamalshkeir

Description

@kamalshkeir

Issue description

Scan rows into any should return the underline type if it used with the new fix using Prepared statements

Example code

stmt, err := db.Conn.Prepare(query)
if err != nil {
   return res, err
 }
 defer stmt.Close()
 
rows, err = stmt.Query(args...)

Error log

Error data

Configuration

Go version: 1.18

Server version: MariaDB 10.9

Server OS: , Windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions