Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix documentation in mnesia.erl #9114

Merged
merged 1 commit into from
Nov 27, 2024
Merged

Fix documentation in mnesia.erl #9114

merged 1 commit into from
Nov 27, 2024

Conversation

m1dnight
Copy link
Contributor

@m1dnight m1dnight commented Nov 26, 2024

There was a wrongly named parameter in the documentation for the create_table function.

The code is now

-spec create_table(Name::table(), Opts::[create_option()]) -> t_result('ok').
create_table(Name, Arg) when is_list(Arg) ->
    mnesia_schema:create_table([{name, Name}| Arg]);
create_table(Name, Arg) ->
    {aborted, {badarg, Name, Arg}}.

So the documentation should be changed accordingly. It's the only occurency of TabDef I found.

There was a wrongly named parameter in the documentation for the create_table function.
@CLAassistant
Copy link

CLAassistant commented Nov 26, 2024

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

github-actions bot commented Nov 26, 2024

CT Test Results

  2 files   57 suites   19m 42s ⏱️
677 tests 530 ✅ 147 💤 0 ❌
730 runs  569 ✅ 161 💤 0 ❌

Results for commit 91596b5.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

@dgud dgud self-requested a review November 26, 2024 13:42
@dgud dgud self-assigned this Nov 26, 2024
@dgud dgud added the team:PS Assigned to OTP team PS label Nov 26, 2024
@dgud dgud merged commit 9837b7b into erlang:master Nov 27, 2024
24 checks passed
@m1dnight m1dnight deleted the patch-1 branch November 30, 2024 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team:PS Assigned to OTP team PS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants