Skip to content

Adding to the field_data function for MySQL/MariaDB #6329

@hanifigoktas

Description

@hanifigoktas

If is_nullable is added, for required fields when creating dynamic forms

system\database\drivers\mysql\mysql_driver.php
$retval[$i]->is_nullable = (int) ($query[$i]->Null === ‘YES’);

system\database\drivers\mysql\mysql_result.php
$retval[$i]->is_nullable = mysql_field_type($this->is_nullable);

system\database\drivers\mysqli\mysql_driver.php
$retval[$i]->is_nullable = (int) ($query[$i]->Null === ‘YES’);

system\database\drivers\mysqli\mysql_result.php
$retval[$i]->is_nullable = mysql_field_type($this->is_nullable);

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