GithubHelp home page GithubHelp logo

Comments (1)

sanikolaev avatar sanikolaev commented on August 29, 2024

MRE

docker run --rm -d --name mariadb -e MYSQL_ROOT_PASSWORD=mysecret -p 9307:3306 mariadb
docker logs -f mariadb 2>&1|grep -qm1 "ready for connections"

cat <<'EOF' > multi.conf
source min {
    type = mysql
    sql_host = 127.0.0.1
    sql_user = root
    sql_pass = mysecret
    sql_port = 9307
    sql_db = test
    sql_query = select id from t
    sql_attr_multi = uint m from query; select 1, 1
}

index idx {
    path = idx
    source = min
}
EOF

mysql -P9307 -h0 -u root -pmysecret -e "create database test"
docker exec -i mariadb mariadb -uroot -pmysecret test < t.sql

indexer -c multi.conf idx

snikolaev@dev2:~$ docker logs mariadb 2>&1|tail -1
2024-07-22  6:43:11 13 [Warning] Aborted connection 13 to db: 'test' user: 'root' host: '172.17.0.1' (Got an error writing communication packets)

t.sql is here

Expected: no Aborted connection.

Reproduced in Manticore 6.3.3 fb447b264@24071413 dev (columnar 2.3.1 42f2b06@24070110) (secondary 2.3.1 42f2b06@24070110) (knn 2.3.1 42f2b06@24070110)

from manticoresearch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.