Skip to content

Commit

Permalink
Adjust mysql system table metadata for MySQL 8.x version
Browse files Browse the repository at this point in the history
  • Loading branch information
strongduanmu committed Mar 19, 2024
1 parent 93e6e70 commit 96cb34d
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,19 @@ columns:
primaryKey: false
unsigned: false
visible: true
is_visible:
caseSensitive: false
dataType: 12
generated: false
name: IS_VISIBLE
primaryKey: false
unsigned: false
visible: true
expression:
caseSensitive: false
dataType: 12
generated: false
name: EXPRESSION
primaryKey: false
unsigned: false
visible: true
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,11 @@ columns:
primaryKey: false
unsigned: false
visible: true
enforced:
caseSensitive: false
dataType: 12
generated: false
name: ENFORCED
primaryKey: false
unsigned: false
visible: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

name: role_edges
columns:
from_host:
caseSensitive: false
dataType: 1
generated: false
name: FROM_HOST
primaryKey: true
visible: true
from_user:
caseSensitive: false
dataType: 1
generated: false
name: FROM_USER
primaryKey: true
visible: true
to_host:
caseSensitive: false
dataType: 1
generated: false
name: TO_HOST
primaryKey: true
visible: true
to_user:
caseSensitive: false
dataType: 1
generated: false
name: TO_USER
primaryKey: true
visible: true
with_admin_option:
caseSensitive: false
dataType: 12
generated: false
name: WITH_ADMIN_OPTION
primaryKey: false
visible: true
indexes:
primary:
name: PRIMARY

0 comments on commit 96cb34d

Please sign in to comment.