---
name: "mariadb_dyncol_column_cmp_named"
section: "3"
platform: "linux"
package: "mariadb"
version: "13.0.2-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/mariadb_dyncol_column_cmp_named"
---

# mariadb\_dyncol\_column\_cmp\_named(3)

### Name

mariadb\_dyncol\_column\_cmp\_named - Compare two column names

### Synopsis

-

  ```
  #include <mariadb_dyncol.h>
  int mariadb_dyncol_column_cmp_named(const MYSQL_LEX_STRING *s1,
                                      const MYSQL_LEX_STRING *s2);
  ```

### Description

Compares two dynamic column keys represented as a pointer to a `MYSQL_LEX_STRING` structure.

### Parameter

- •

  `s1` - First key

- •

  `s2` - Second key

### Return value

Returns an integer less than, equal to, or greater than zero if the first bytes of `s1` is found, respectively, to be less than, to match, or be greater than the first bytes of `s2`.
