Repository navigation
Commit bffd503
committed
Use strcasecmp() and test more foreign key references
Compare the column names with strcasecmp() instead of lowercasing both.
Extend the test to cover a single-column PRIMARY KEY, a composite UNIQUE
key, and a foreign key added with ALTER TABLE.1 parent 84b1693 commit bffd503
2 files changed
Lines changed: 33 additions & 7 deletions
File tree
- packages/mysql-on-sqlite
- src/sqlite
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1823 | 1823 | | |
1824 | 1824 | | |
1825 | 1825 | | |
1826 | | - | |
| 1826 | + | |
1827 | 1827 | | |
1828 | 1828 | | |
1829 | 1829 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1943 | 1943 | | |
1944 | 1944 | | |
1945 | 1945 | | |
1946 | | - | |
1947 | | - | |
| 1946 | + | |
| 1947 | + | |
| 1948 | + | |
| 1949 | + | |
| 1950 | + | |
| 1951 | + | |
| 1952 | + | |
| 1953 | + | |
| 1954 | + | |
| 1955 | + | |
| 1956 | + | |
1948 | 1957 | | |
1949 | 1958 | | |
1950 | | - | |
1951 | | - | |
1952 | | - | |
| 1959 | + | |
| 1960 | + | |
| 1961 | + | |
| 1962 | + | |
| 1963 | + | |
1953 | 1964 | | |
1954 | 1965 | | |
| 1966 | + | |
1955 | 1967 | | |
1956 | | - | |
| 1968 | + | |
| 1969 | + | |
| 1970 | + | |
| 1971 | + | |
| 1972 | + | |
| 1973 | + | |
1957 | 1974 | | |
1958 | 1975 | | |
1959 | 1976 | | |
| 1977 | + | |
| 1978 | + | |
| 1979 | + | |
| 1980 | + | |
| 1981 | + | |
1960 | 1982 | | |
1961 | 1983 | | |
| 1984 | + | |
| 1985 | + | |
| 1986 | + | |
| 1987 | + | |
1962 | 1988 | | |
1963 | 1989 | | |
1964 | 1990 | | |
| |||
0 commit comments