HCoop
/
hcoop
/
domtool2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Specifying encoding on database creation
[hcoop/domtool2.git]
/
src
/
msgTypes.sml
diff --git
a/src/msgTypes.sml
b/src/msgTypes.sml
index
0c367ec
..
1fd2411
100644
(file)
--- a/
src/msgTypes.sml
+++ b/
src/msgTypes.sml
@@
-76,7
+76,7
@@
datatype msg =
* that user and no one else has rights. *)
| MsgCreateDbUser of {dbtype : string, passwd : string option}
(* Request creation of a user for the named DBMS type *)
* that user and no one else has rights. *)
| MsgCreateDbUser of {dbtype : string, passwd : string option}
(* Request creation of a user for the named DBMS type *)
- | MsgCreateDb
Table of {dbtype : string, dbname : string
}
+ | MsgCreateDb
of {dbtype : string, dbname : string, encoding : string option
}
(* Request creation of a DBMS database *)
| MsgDropDb of {dbtype : string, dbname : string}
(* Request dropping of a DBMS database *)
(* Request creation of a DBMS database *)
| MsgDropDb of {dbtype : string, dbname : string}
(* Request dropping of a DBMS database *)
@@
-120,5
+120,9
@@
datatype msg =
(* Grant all allowed privileges on a DBMS database to the user *)
| MsgMysqlFixperms
(* Run the script to grant DROP privileges on MySQL tables to owning users *)
(* Grant all allowed privileges on a DBMS database to the user *)
| MsgMysqlFixperms
(* Run the script to grant DROP privileges on MySQL tables to owning users *)
+ | MsgDescribe of string
+ (* Ask for a listing of all of a domain's real configuration *)
+ | MsgDescription of string
+ (* Reply to MsgDescribe *)
end
end