Comments (1)
Thanks for the bug report.
The issue is that the default value for a column has to be a literal. Things like function calls are not currently supported. I'll file an issue for that momentarily, but I'm not sure when we'll be able to support it meaningfully. It requires a pretty deep level of commitment from integrators, but maybe it's time for that. We'll have to discuss on the team.
In the shorter term I'll fix this panic and make it return a reasonable error message instead.
from go-mysql-server.
Related Issues (20)
- [Feature Request] Support for `INSERT INTO ... VALUE` HOT 1
- "SELECT * FROM tbl" has incorrect schema when table has default values.
- Goroutine insert self-incrementing id duplication HOT 2
- utf8mb3_tolower_ci not implemented HOT 13
- Error 1105: -128 out of range for BIGINT UNSIGNED HOT 5
- PrepareStatement got incorrect paramsCount in response packet from mock mysql server. HOT 5
- Extracting update query columns HOT 6
- Creating an enum column with collation utf8_czech_ci causes panic HOT 4
- GORM JSONArrayQuery.Contains isn't compatible HOT 5
- duplicate column names in a table alias should be prevented.
- Functional Dependency anaylsis on lookup joins doesn't handle when key expression is an Arithmetic expression
- Functional Dependency anaylsis on simple left join doesn't behave as expected. HOT 1
- Functional Dependency anaylsis on simple nested joins doesn't behave as expected.
- Valid join query erroneously reported as ambiguous HOT 1
- Internal comparisons consider NULL values higher than non-NULL values
- multi-package go unit tests failing because previous test server not shutdown HOT 1
- The time zone generated by CURRENT_TIMESTAMP is not the expected time zone
- go mod tidy error
- VSCode debug Build Error
- GolangCI does not work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-mysql-server.