github dolthub/dolt v0.50.4
0.50.4

latest releases: v1.38.2, v1.38.1, v1.38.0...
19 months ago

Merged PRs

dolt

  • 4545: Enable new clones to begin replicating on the primary
  • 4539: Replace incorrect character.
    Replaces an incorrect ' character with the correct ` character.
    The current code results in broken docs html:
    Screen Shot 2022-10-12 at 3 18 26 PM
  • 4528: Branch Control Pt. 5
    This is an aggregate of
  • 4524: add file read progress info for dolt sql --file=<file.sql> command
    There will be percentage progress output printed for --file flag of dolt sql command. It can be used with or without --batch flag.
  • 4512: Tests for unique index creation on keyless tables
    tests for: #4420
    companion pr: dolthub/go-mysql-server#1320
  • 4505: dolt support for MULTILINESTRING
    Fix for: #3638
    Companion PR: dolthub/go-mysql-server#1323

go-mysql-server

  • 1329: explain output includes FilteredTable
    We already print filtered table in the debug string for IndexedTableAccess, this adds it to regular explain and ResolvedTable.
  • 1323: add support for MultiLineString pt. 3
    Part 4 of fix for: #3638
    TODO: rebase to main, left as a merge to james/mline2 for better readability
    Changes:
    • these functions now work with MultiLineString
    • ST_GEOMFROMGEOJSON
    • ST_ASGEOJSON
    • added engine tests
  • 1322: add support for MultiLineString pt. 2
    Part 3 of fix for: #3638
    TODO: rebase to main, left as a merge to james/mline for better readability
    Changes:
    • small fix to polygon test
    • these functions now work with MultiLineString
    • ST_SWAP
    • ST_SRID
    • ST_DIMENSION
    • MULTILINESTRING
  • 1321: add support for MultiLineString pt. 1
    Part 2 of fix for: #3638
    Changes:
    • small copy-pasta comment fixes
    • adding multilinestring type and structs
    • MultiLineString support for these sql functions
    • ST_MULTILINESTRINGFROMWKB
    • ST_MULTILINESTRINGFROMTEXT
    • ST_MLINESTRINGFROMWKB
    • ST_MLINESTRINGFROMTEXT
    • ST_GEOMFROMWKB
    • ST_ASWKB
    • ST_ASTEXT
  • 1320: rewrite table on unique key creation
    Fix for: #4420
    In-memory tables don't support unique keys, so tests are in dolt:
    #4512
  • 1311: internal/sockstate: Fix sockets ending up in blocking mode when we monitor them for disconnects.
    As documented in os, calling *os.File.Fd() will put the socket into blocking mode, makes SetDeadline methods stop working, etc. This syscall to SetNonblocking restores desired functionality.
    This was discovered when testing clustering control plane operations in Dolt, which rely on the timely ability to terminate all client connections by calling Close() on them.
    We were able to reproduce the issue on macOS by doing the same File() behavior there, despite not having an implementation to actually use the fd for external monitoring of the connection state. To keep as much behavioral parity going forward, I left the fd translation in, since we've observed that it can radically change behavior.

Closed Issues

  • 4430: Feature request: add a progress bar to dolt sql < file.sql that shows the progress of a SQL load
  • 4518: dolt_remotes system table not accessible when connecting with a branch string
  • 4270: Diff shows rows that have no diffs when a column has been added in the past.
  • 4211: Inserting large JSON object in a prepared statement causes panic
  • 4420: Dolt allows me to create an unique index that violates uniqueness
  • 1331: CreateTable: DEFAULT CHARACTER SET missing
  • 945: Client hangs if go-mysql-server takes too long to return query results

Latency

Read Tests MySQL Dolt Multiple
covering_index_scan 1.93 2.71 1.4
groupby_scan 12.3 17.01 1.4
index_join 1.18 4.57 3.9
index_join_scan 1.12 3.82 3.4
index_scan 30.26 52.89 1.7
oltp_point_select 0.16 0.49 3.1
oltp_read_only 3.07 8.9 2.9
select_random_points 0.31 0.75 2.4
select_random_ranges 0.36 1.14 3.2
table_scan 30.81 61.08 2.0
types_table_scan 70.55 183.21 2.6
reads_mean_multiplier 2.5
Write Tests MySQL Dolt Multiple
bulk_insert 0.001 0.001 1.0
oltp_delete_insert 2.86 11.04 3.9
oltp_insert 1.42 2.76 1.9
oltp_read_write 5.28 17.32 3.3
oltp_update_index 1.47 5.0 3.4
oltp_update_non_index 1.42 5.18 3.6
oltp_write_only 2.3 8.28 3.6
types_delete_insert 2.91 12.3 4.2
writes_mean_multiplier 3.1
Overall Mean Multiple 2.8

Don't miss a new dolt release

NewReleases is sending notifications on new releases.