| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
was less efficient.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Contains a migration.
SQLite: May contain nuts.
The SQLite migration copies the entire asset table. Be prepared for quite a wait. Don't interrupt it. Back up your assets db.
BasicAssetTest checks CreatorID storage, new test for weird CreatorID
(now also checks that non-GUID or empty CreatorID gets stored correctly)
Signed-off-by: Melanie <melanie@t-data.com>
|
|
|
|
|
|
|
|
|
| |
The asset type wasn't in the list of "DontScramble" fields,
so the test assets were stored with randomized type, which
caused exception on reading them.
Also the scrambler was moved from local var to the class level,
so it could be used in the new tests I've added (see the next commit).
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Throwing an Ex. with SQL command in the message looks weird,
this is a bit better, but I'm still not sure if that's the
proper way to handle. Also, there is a catch one level up,
so is this one necessary?
|
|
|
|
|
|
|
| |
Change migration error reporting to not truncate the statement when
reporting. It's a bit messier than the old error reporting, but at least
one gets an idea of what could be wrong again. And things look a lot
neater now.
|
| |
|
|
|
|
| |
prevented the full message from displaying.
|
|
|
|
| |
migrations to continue in the face of an error
|
|
|
|
| |
This reverts commit 167db502593de5f535d8c322005c63ef263940ed.
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
This fixes some type conversion bugs and also makes the estate lists
work properly for MSSQL. Strawberry, please check this.
Signed-off-by: Melanie <melanie@t-data.com>
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Revert "Revert "Looks like the new files were never added to prebuild.xml""
This reverts commit f253758c2e4e30c8e09f23135d79765c70198802.
|
|\ \
| | |
| | |
| | |
| | |
| | | |
Another stab at the tests
Signed-off-by: Melanie <melanie@t-data.com>
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This was needed if we want to update to the latest MySQL
connector dll. It automatically converts CHAR(36) to
Guids, so getting them as strings no longer works.
By using DBGuid.FromDB(), we unlink from any particular
storage format of GUIDs, could even make them BINARY(16)
if we like.
Actually not all MySql units are touched, but the remaining ones don't
seem to be affected (they don't read GUIDs from DB)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This DBMS-independent function to be used converting UUIDs
from whatever format used in the DB (string/binary/Guid).
This is mostly needed for MySQL, as in MSSQL they are always
UNIQUEIDENTIFIERs and in SQLite always strings (but would look
better if we use it there anyway).
|
|/ /
| |
| |
| | |
This reverts commit df49756e7b8125595db20f63d5f9809a27642b77.
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | | |
Adding what, in the World according to Alex, will fix the tests
Signed-off-by: Melanie <melanie@t-data.com>
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Replaced all NNN_StoreName.sql migration resources with a more
readable, single-file-per-store
|
| | |
| | |
| | |
| | |
| | | |
Uses MySqlScript class to correctly run proc/func definitions
that need delimiter change. Requires MySql.Data.dll 6.2 or later.
|
| | |
| | |
| | |
| | |
| | | |
This is necessary to correct a known problem with the
DELIMITER command in previous versions of the client library.
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Scans for migration resources in either old-style "scattered" (one file per version)
or new-style "integrated" format (single file "Resources/{StoreName}.migrations[.nnn]") with ":VERSION nnn" sections).
In the new-style migrations it also recognizes ':GO' separators for parts of the SQL script
that must be sent to the server separately. The old-style migrations are loaded each in one piece
and don't support the ':GO' feature.
Status: TESTED and works fine in all modes!
|
|\ \
| |/
|/|
| |
| |
| |
| | |
This merges AlexRa's work on migration streamlining. This merge is experimental.
If it causes issues, feel free to back out.
Signed-off-by: Melanie <melanie@t-data.com>
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Replaced all NNN_StoreName.sql migration resources with a more
readable, single-file-per-store
|
| |
| |
| |
| |
| | |
Uses MySqlScript class to correctly run proc/func definitions
that need delimiter change. Requires MySql.Data.dll 6.2 or later.
|
| |
| |
| |
| |
| | |
This is necessary to correct a known problem with the
DELIMITER command in previous versions of the client library.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Scans for migration resources in either old-style "scattered" (one file per version)
or new-style "integrated" format (single file "Resources/{StoreName}.migrations[.nnn]") with ":VERSION nnn" sections).
In the new-style migrations it also recognizes ':GO' separators for parts of the SQL script
that must be sent to the server separately. The old-style migrations are loaded each in one piece
and don't support the ':GO' feature.
Status: TESTED and works fine in all modes!
|
| | |
|
| |
| |
| |
| | |
_won't_ do. Might look more elegant, but it's too little information.
|
| | |
|
| | |
|
| | |
|
| | |
|
|/
|
|
|
|
| |
connection strings.
* Added a comment in LLLoginService.cs, for future reference
|
|\ |
|
| |\ |
|