fix: remove the pre-filled .mysql_history file#124
Merged
KlimTodrik merged 2 commits intomasterfrom Jan 5, 2026
Merged
Conversation
…e queries, because it is more confusing than helpful.
tests❌ CLT tests in Failed tests:clt_tests/tests/test-one-liner.rec––– input –––
export PATH=$PATH:/usr/sbin
––– output –––
OK
––– input –––
(dockerd > /var/log/dockerd.log 2>&1 &) > /dev/null
––– output –––
OK
––– input –––
if timeout 60 grep -qm1 'API listen on /var/run/docker.sock' <(tail -n 0 -f /var/log/dockerd.log); then echo 'Done'; else echo 'Timeout failed'; fi
––– output –––
OK
––– input –––
docker ps
––– output –––
OK
––– input –––
docker build --build-arg="DEV=1" -t manticoresoftware/manticore:current /docker/ > /dev/null 2>&1; echo $?
––– output –––
OK
––– input –––
docker run --name manticore --rm -d manticoresoftware/manticore:current && echo "Waiting for Manticore docker to start. Consider mapping the data_dir to make it start faster next time" && until docker logs manticore 2>&1 | grep -q "accepting connections"; do sleep 1; echo -n .; done && echo $?
––– output –––
OK
––– input –––
docker exec manticore mysql -e "source /sandbox.sql"
––– output –––
+ ERROR at line 1: Failed to open file '/sandbox.sql', error: 2
––– input –––
docker exec manticore mysql -e "SHOW TABLES\G"
––– output –––
- *************************** 1. row ***************************
- Table: films
- Type: rt
––– input –––
docker exec manticore mysql -e "SELECT * FROM films LIMIT 3\G"
––– output –––
- *************************** 1. row ***************************
+ ERROR 1064 (42000) at line 1: unknown local table(s) 'films' in search request
- id: 19
- title: AMADEUS HOLY
- description: A Emotional Display of a Pioneer And a Technical Writer who must Battle a Man in A Baloon
- category_id: 1
- release_year: 2008
- rental_rate: 0.990000
- *************************** 2. row ***************************
- id: 21
- title: AMERICAN CIRCUS
- description: A Insightful Drama of a Girl And a Astronaut who must Face a Database Administrator in A Shark Tank
- category_id: 1
- release_year: 2009
- rental_rate: 4.990000
- *************************** 3. row ***************************
- id: 29
- title: ANTITRUST TOMATOES
- description: A Fateful Yarn of a Womanizer And a Feminist who must Succumb a Database Administrator in Ancient India
- category_id: 1
- release_year: 2005
- rental_rate: 2.990000 |
Collaborator
Author
|
@KlimTodrik please adapt the tests accordingly. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The pre-filled .mysql_history contains example queries. It seems it's better remove that because it is more confusing than helpful.