Skip to content

Query causes MySQL.jl to hang [Julia v0.7] #113

Closed
@essenciary

Description

@essenciary

I have an app where I run multiple queries on various table. They all run correctly, except this. This query causes the REPL to hang (the cursor moves on ENTER but no ctrl+c or ctrl+d to exit). As far as I can tell it hangs forever.

julia> MySQL.query(conn, "SELECT `hotels`.`id` AS `hotels_id`, `hotels`.`facilities` AS `hotels_facilities`, `hotels`.`themes` AS `hotels_themes`, `hotels`.`nr_rooms` AS `hotels_nr_rooms`, `hotels`.`country` AS `hotels_country`, `hotels`.`destination` AS `hotels_destination`, `hotels`.`nr_bars` AS `hotels_nr_bars`, `hotels`.`hotel_score` AS `hotels_hotel_score`, `hotels`.`nr_restaurants` AS `hotels_nr_restaurants`, `hotels`.`availability_score` AS `hotels_availability_score`, `hotels`.`checkin_to` AS `hotels_checkin_to`, `hotels`.`checkout_from` AS `hotels_checkout_from`, `hotels`.`address` AS `hotels_address`, `hotels`.`zipcode` AS `hotels_zipcode`, `hotels`.`currencycode` AS `hotels_currencycode`, `hotels`.`regions` AS `hotels_regions`, `hotels`.`checkin_from` AS `hotels_checkin_from`, `hotels`.`phone` AS `hotels_phone`, `hotels`.`descriptions` AS `hotels_descriptions`, `hotels`.`longitude` AS `hotels_longitude`, `hotels`.`name` AS `hotels_name`, `hotels`.`email` AS `hotels_email`, `hotels`.`latitude` AS `hotels_latitude`, `hotels`.`updated_at` AS `hotels_updated_at`, `hotels`.`master` AS `hotels_master`, `hotels`.`nr_halls` AS `hotels_nr_halls`, `hotels`.`stars` AS `hotels_stars`, `hotels`.`code` AS `hotels_code`, `hotels`.`checkout_to` AS `hotels_checkout_to`, `hotels`.`year_built` AS `hotels_year_built` FROM `hotels` WHERE (`hotels`.`id` = 218) ORDER BY hotels.id ASC LIMIT 1")
julia> versioninfo()
Julia Version 0.7.0-alpha.218
Commit 3477f29a19 (2018-06-21 14:32 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin14.5.0)
  CPU: Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.0 (ORCJIT, skylake)

MySQL 5.7.22 running on localhost. Table attached
hotelhound+dev_2018-06-21.sql.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions